<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tewha &#187; cross-platform</title>
	<atom:link href="http://tewha.net/tag/cross-platform/feed/" rel="self" type="application/rss+xml" />
	<link>http://tewha.net</link>
	<description>Writings and links on iPhone and iPad programming</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:19:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Still not moving to Firefox!</title>
		<link>http://tewha.net/2008/03/still-not-moving-to-firefox/</link>
		<comments>http://tewha.net/2008/03/still-not-moving-to-firefox/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 20:11:41 +0000</pubDate>
		<dc:creator>Steven Fisher</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[cross-platform]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[webbrowsers]]></category>

		<guid isPermaLink="false">http://tewha.net/?p=475</guid>
		<description><![CDATA[After my last post, Firefox fans are probably wondering why I&#8217;d bother. The truth is that even with the annoying bugs present in it, I still find Safari the least offensive browser, given Firefox&#8217;s window focus drawing bug, inability to &#8230; <a href="http://tewha.net/2008/03/still-not-moving-to-firefox/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After <a href="http://tewha.net/2008/03/restore-deleted-safari-cookies">my last post</a>, <a href="http://www.antipode.ca/">Firefox fans</a> are probably wondering why I&#8217;d bother. The truth is that even with the annoying bugs present in it, I still find Safari the least offensive browser, given Firefox&#8217;s <a href="http://blog.adpinion.com/index.php/2008/03/25/attention-to-detail/">window focus drawing bug</a>, inability to be dragged from the status bar, the botched spellchecker integration, slow launches, etc, etc.</p>

<p>I&#8217;m sure most of these will be fixed, but Firefox is a well of platform integration problems. The well does have a bottom, but we&#8217;re probably not near it yet.</p>
]]></content:encoded>
			<wfw:commentRss>http://tewha.net/2008/03/still-not-moving-to-firefox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Qt part 1: Project configuration</title>
		<link>http://tewha.net/2007/03/qt-part-1-project-configuration/</link>
		<comments>http://tewha.net/2007/03/qt-part-1-project-configuration/#comments</comments>
		<pubDate>Tue, 27 Mar 2007 19:36:22 +0000</pubDate>
		<dc:creator>Steven Fisher</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[cross-platform]]></category>
		<category><![CDATA[qt4]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://pyile.com/2007/03/qt-part-1-project-configuration/</guid>
		<description><![CDATA[We develop applications for multiple platforms here. How to do this is something of a challenge; in the past, I&#8217;ve favored writing custom interfaces and using common business logic. To be blunt, I still think this makes a lot of &#8230; <a href="http://tewha.net/2007/03/qt-part-1-project-configuration/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We develop applications for multiple platforms here. How to do this is something of a challenge; in the past, I&#8217;ve favored writing custom interfaces and using common business logic. To be blunt, I still think this makes a lot of sense, although in the past we&#8217;ve made some choices as to the various languages to write things in that turned out pretty poorly over the years.</p>

<p>Another developer here suggested we evaluate Qt. To make a long story short, we&#8217;ve placed an order and plan to use it.</p>

<p><strong>Project configuration made easy.</strong></p>

<p>Qt&#8217;s cross platform abstraction starts with the project file. For instance, a trivial QT project file might look like this:</p>

<blockquote class="codechunk">TEMPLATE = app

SOURCES += main.cpp</blockquote>

<p>Type qmake on the Mac and it&#8217;s converted to a Project Builder or Xcode project. I believe makefiles are supported on Mac, too, but I haven&#8217;t tried that yet. Import it into Visual Studio with Qt&#8217;s Visual Studio integration and it becomes a vcproj.</p>

<p>Want to add precompiled headers and make it a debug build?</p>

<blockquote class="codechunk">CONFIG +=debug

PRECOMPILED_HEADER = stable.h</blockquote>

<p>(This assumes that stable.h #includes your headers that aren&#8217;t going to change.)</p>

<p>Run qmake again on the host platform (or import into Visual Studio), and the project file will be regenerated to use stable.h as a precompiled header and we&#8217;re using debug libraries and appropriate settings.</p>

<p>Want a universal build on the Mac?</p>

<blockquote class="codechunk">QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk

CONFIG +=x86 ppc</blockquote>

<p>Want to build a Visual Studio project? Move over to Visual Studio 2005 and choose <strong>Open Solution from .pro File</strong>. A second later, you&#8217;re looking at a Visual Studio project with the equivalent configuration.</p>

<p>It really is that easy. The difficulty is in finding the variable names, and that&#8217;s <a href="http://doc.trolltech.com/4.2/qmake-manual.html">documented on TrollTech&#8217;s website</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tewha.net/2007/03/qt-part-1-project-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: tewha.net @ 2012-02-08 14:39:21 -->
