<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Qtguy's Rigmaroles</title>
	<atom:link href="http://qtguy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://qtguy.wordpress.com</link>
	<description>My experiences with mobile Qt development</description>
	<lastBuildDate>Fri, 05 Jun 2009 09:37:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='qtguy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Qtguy's Rigmaroles</title>
		<link>http://qtguy.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://qtguy.wordpress.com/osd.xml" title="Qtguy&#039;s Rigmaroles" />
	<atom:link rel='hub' href='http://qtguy.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Resolving the final porting issues</title>
		<link>http://qtguy.wordpress.com/2009/06/05/resolving-the-final-issues/</link>
		<comments>http://qtguy.wordpress.com/2009/06/05/resolving-the-final-issues/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 09:35:55 +0000</pubDate>
		<dc:creator>qtguy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://qtguy.wordpress.com/?p=61</guid>
		<description><![CDATA[After I put the STL &#8211; Qt compatibility issues behind me, I&#8217;ve hit yet another wall. And quite a weird one this time. Apparently there is some problem between Carbide configuration and Symbian STL implementation, because after recompiling Qt, I got a lot of (more that 80) new errors &#8211; all complaining about explicit template [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qtguy.wordpress.com&amp;blog=7795776&amp;post=61&amp;subd=qtguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After I put the STL &#8211; Qt compatibility issues behind me, I&#8217;ve hit yet another wall. And quite a weird one this time. Apparently there is some problem between Carbide configuration and Symbian STL implementation, because after recompiling Qt, I got a lot of (more that 80) new errors &#8211; all complaining about explicit template declaration in stl header _limits.h.<span id="more-61"></span></p>
<p>After a lot of googling and reading several materials, I stumbled uppon <a href="http://discussion.forum.nokia.com/forum/showthread.php?t=136480">this thread</a> discussing the same issue, but with older S60 SDK. The resolution suggests to add two new lines to .mmp file. Since I learned my lesson last time about editing .mmp in Carbide.c++ 2.0, I added these two lines into .pro file:</p>
<pre>MMP_RULES += "OPTION CW -wchar_t on"
MMP_RULES += "MACRO _WCHAR_T_DECLARED"</pre>
<p>Sure enough, there were no signs of those template errors after recompilation. But then a weird thing happened. Instead of template declaration compilation errors, I got warnings about duplicate declarations in mmp.</p>
<p>Uppon inspection I discovered that all rules I added in .pro file were there (as expected) at the end of file, but the same rules were also present in their respective sections. Somehow the inner mmp generation scheme changed and started to include rules that I missed before and needed to add through .pro file.</p>
<p>Hence my final step was to remove all additional lines that started with MMP_RULES from .pro file. The application is now working, but as you can see, the font and button sizes are inappropriate and the window area stretches beyond the display. I&#8217;m addressing these issuses now.</p>
<p><img class="alignnone size-medium wp-image-62" title="pacman1" src="http://qtguy.files.wordpress.com/2009/06/pacman1.png?w=173&#038;h=300" alt="pacman1" width="173" height="300" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qtguy.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qtguy.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qtguy.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qtguy.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qtguy.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qtguy.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qtguy.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qtguy.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qtguy.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qtguy.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qtguy.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qtguy.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qtguy.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qtguy.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qtguy.wordpress.com&amp;blog=7795776&amp;post=61&amp;subd=qtguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qtguy.wordpress.com/2009/06/05/resolving-the-final-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8e5066736cc8ac66c25d7dc4e1001b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">qtguy</media:title>
		</media:content>

		<media:content url="http://qtguy.files.wordpress.com/2009/06/pacman1.png?w=173" medium="image">
			<media:title type="html">pacman1</media:title>
		</media:content>
	</item>
		<item>
		<title>Porting an Application: Part 2</title>
		<link>http://qtguy.wordpress.com/2009/05/20/porting-an-application-part-2/</link>
		<comments>http://qtguy.wordpress.com/2009/05/20/porting-an-application-part-2/#comments</comments>
		<pubDate>Wed, 20 May 2009 13:40:53 +0000</pubDate>
		<dc:creator>qtguy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://qtguy.wordpress.com/?p=50</guid>
		<description><![CDATA[With the STL support supposedly working, I continued with my quest. The linker problems I mentioned earlier were really my fault, as I forgot to mention some of the source files in the .pro file. With that problem solved, another one promptly surfaced: When I installed Qt, I read the configure -help description as to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qtguy.wordpress.com&amp;blog=7795776&amp;post=50&amp;subd=qtguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With the STL support supposedly working, I continued with my quest. The linker problems I mentioned earlier were really my fault, as I forgot to mention some of the source files in the .pro file. With that problem solved, another one promptly surfaced:</p>
<div id="attachment_52" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-52" title="qtstlprob" src="http://qtguy.files.wordpress.com/2009/05/qtstlprob1.png?w=300&#038;h=98" alt="qtstlprob" width="300" height="98" /><p class="wp-caption-text">mapFile is a QString</p></div>
<p><span id="more-50"></span>When I installed Qt, I read the configure -help description as to what command line arguments should be used when configuring the Qt release. It said, that STL support is on by default. However in the &#8216;garden&#8217; <a href="http://pepper.troll.no/s60prereleases/packages/changes-4.5.0-garden">changelog</a>, it says that for STL support, you have to use -stl switch in the configuration. I didn&#8217;t notice this contradiction the first time and trusted the configure utility output.</p>
<p>Further investigating this, I managed to confirm my suspicion. Qt libraries define a preprocessor flag QT_NO_STL if the STL support is not enabled &#8211; and obviously the flag is raised in my build. Seems I&#8217;ll be reconfiguring and compiling the rest of the day.</p>
<p> <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><strong>Update:</strong> Finished running configure with -stl switch and then compilation &#8211; I can confirm that the preprocessor flag is gone and I no longer get related compilation errors. I do have other issues however&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qtguy.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qtguy.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qtguy.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qtguy.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qtguy.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qtguy.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qtguy.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qtguy.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qtguy.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qtguy.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qtguy.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qtguy.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qtguy.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qtguy.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qtguy.wordpress.com&amp;blog=7795776&amp;post=50&amp;subd=qtguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qtguy.wordpress.com/2009/05/20/porting-an-application-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8e5066736cc8ac66c25d7dc4e1001b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">qtguy</media:title>
		</media:content>

		<media:content url="http://qtguy.files.wordpress.com/2009/05/qtstlprob1.png?w=300" medium="image">
			<media:title type="html">qtstlprob</media:title>
		</media:content>
	</item>
		<item>
		<title>Porting an Application</title>
		<link>http://qtguy.wordpress.com/2009/05/20/porting-an-application/</link>
		<comments>http://qtguy.wordpress.com/2009/05/20/porting-an-application/#comments</comments>
		<pubDate>Wed, 20 May 2009 10:36:59 +0000</pubDate>
		<dc:creator>qtguy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://qtguy.wordpress.com/?p=31</guid>
		<description><![CDATA[With the Hello World example working I decided to port something bigger. I have a fair amount of simple Qt applications from last semester, when I attended a Qt course, so I just chose one of them. Let me introduce a PacMan-like application. I wouldn&#8217;t dare to call it a game, since there is just [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qtguy.wordpress.com&amp;blog=7795776&amp;post=31&amp;subd=qtguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With the Hello World example working I decided to port something bigger. I have a fair amount of simple Qt applications from last semester, when I attended a Qt course, so I just chose one of them. Let me introduce a PacMan-like application.</p>
<p><img class="alignnone size-medium wp-image-32" title="pacman" src="http://qtguy.files.wordpress.com/2009/05/pacman.png?w=300&#038;h=237" alt="pacman" width="300" height="237" /></p>
<p>I wouldn&#8217;t dare to call it a game, since there is just one level, you are a green square and your very dumb opponents look like blue squares.</p>
<p><span id="more-31"></span>Anyway, the application loads the level layout from a text file, it keeps track of your score and live count. Your goal is to simply eat all pills and avoid contact with evil blue squares. Purple pills give you super powers for a limited time &#8211; until the effect wears off you can go berserk on the enemies.</p>
<p>The task of porting turned out to be more complicated than I expected. The application uses some containers and other stuff from STL, and theres the first problem &#8211; on default Carbide configuration, the use of STL is impossible:</p>
<p><img class="alignnone size-medium wp-image-34" title="stlprob" src="http://qtguy.files.wordpress.com/2009/05/stlprob1.png?w=300&#038;h=254" alt="stlprob" width="300" height="254" /></p>
<p>Based on the information <a href="http://discussion.forum.nokia.com/forum/showthread.php?t=137344">here</a> I modified the .mmp file by adding the mentioned line:</p>
<pre>SYSTEMINCLUDE    \epoc32\include\stdapis\stlport</pre>
<p>The other suggested includes were already there. However this didn&#8217;t work, becouse on next build the .mmp file got regenerated and my change got lost. Modifying the Makefile would also not help for the same reason &#8211; it gets generated every time by qmake.</p>
<p>Searching for the solution actually took quite some time. At first googling discovered advices on editing the .mmp file directly, which clearly worked in previous versions of Carbide. So I plunged into the carbide project preferences, to no success eighter. Then I returned to googling again and finally found <a href="http://discussion.forum.nokia.com/forum/showthread.php?t=155336">this</a>. Its not a thread about my problem, but the last post finally solved it for me. In order to permanently add a line into the .mmp file, you have to add a declaration into the .pro file of the project in the form</p>
<pre>MMP_RULES += "line to insert"</pre>
<p>so in my case I had to add</p>
<pre>MMP_RULES += "SYSTEMINCLUDE        /epoc32/include/stdapis/stlport"</pre>
<p>Unfortunately that was not the only problem. Apparently there are some linker errors that don&#8217;t happen when compiling with MSVC 2008 and Qt 4.4 nor under Linux with gcc / Qt 4.3. I&#8217;m trying to solve that now&#8230;</p>
<p>As always, you can view all the sources <a href="http://svn2.xp-dev.com/svn/Fiktik-mobile-qt/">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qtguy.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qtguy.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qtguy.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qtguy.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qtguy.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qtguy.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qtguy.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qtguy.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qtguy.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qtguy.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qtguy.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qtguy.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qtguy.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qtguy.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qtguy.wordpress.com&amp;blog=7795776&amp;post=31&amp;subd=qtguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qtguy.wordpress.com/2009/05/20/porting-an-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8e5066736cc8ac66c25d7dc4e1001b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">qtguy</media:title>
		</media:content>

		<media:content url="http://qtguy.files.wordpress.com/2009/05/pacman.png?w=300" medium="image">
			<media:title type="html">pacman</media:title>
		</media:content>

		<media:content url="http://qtguy.files.wordpress.com/2009/05/stlprob1.png?w=300" medium="image">
			<media:title type="html">stlprob</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello Mobile World!</title>
		<link>http://qtguy.wordpress.com/2009/05/19/hello-mobile-world/</link>
		<comments>http://qtguy.wordpress.com/2009/05/19/hello-mobile-world/#comments</comments>
		<pubDate>Tue, 19 May 2009 08:27:29 +0000</pubDate>
		<dc:creator>qtguy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://qtguy.wordpress.com/?p=21</guid>
		<description><![CDATA[So I fired up the Carbide IDE, set the default Qt and created new Qt Project. Then spent about 15 minutes searching for a way to put Qt widgets into the UI. The catch was, that the environment has to be changed to Qt C/C++ perspective. Now I could create that ui component with well [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qtguy.wordpress.com&amp;blog=7795776&amp;post=21&amp;subd=qtguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I fired up the Carbide IDE, set the default Qt and created new Qt Project. Then spent about 15 minutes searching for a way to put Qt widgets into the UI. The catch was, that the environment has to be changed to Qt C/C++ perspective.</p>
<p><span id="more-21"></span></p>
<p>Now I could create that ui component with well known toolset of widgets:</p>
<p><img class="alignnone size-medium wp-image-22" title="designer" src="http://qtguy.files.wordpress.com/2009/05/designer.png?w=300&#038;h=256" alt="designer" width="300" height="256" /></p>
<p>And finally launch the emulator:</p>
<p><img class="alignnone size-medium wp-image-24" title="emulhello" src="http://qtguy.files.wordpress.com/2009/05/emulhello1.png?w=173&#038;h=300" alt="emulhello" width="173" height="300" /></p>
<p>There are some setbacks. The emulator launches for quite some time, about 30-40 seconds. That doesn&#8217;t seem that much, but if you realize that it has to launch every time you decide to test-run your application, it becomes a pain quickly. Also I get compilation warnings about multiply defined symbols in symbian libraries. Thats a price for using a pre-release software, I guess.</p>
<p>You can find the code I used here, together with everything else that I will create on this project in my <a href="http://svn2.xp-dev.com/svn/Fiktik-mobile-qt/">repository</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qtguy.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qtguy.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qtguy.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qtguy.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qtguy.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qtguy.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qtguy.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qtguy.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qtguy.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qtguy.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qtguy.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qtguy.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qtguy.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qtguy.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qtguy.wordpress.com&amp;blog=7795776&amp;post=21&amp;subd=qtguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qtguy.wordpress.com/2009/05/19/hello-mobile-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8e5066736cc8ac66c25d7dc4e1001b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">qtguy</media:title>
		</media:content>

		<media:content url="http://qtguy.files.wordpress.com/2009/05/designer.png?w=300" medium="image">
			<media:title type="html">designer</media:title>
		</media:content>

		<media:content url="http://qtguy.files.wordpress.com/2009/05/emulhello1.png?w=173" medium="image">
			<media:title type="html">emulhello</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting Ready</title>
		<link>http://qtguy.wordpress.com/2009/05/18/getting-ready/</link>
		<comments>http://qtguy.wordpress.com/2009/05/18/getting-ready/#comments</comments>
		<pubDate>Mon, 18 May 2009 09:11:24 +0000</pubDate>
		<dc:creator>qtguy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://qtguy.wordpress.com/?p=6</guid>
		<description><![CDATA[Before you start developing Qt applications for the S60, you need to install proper tools. In this post I would like to sum up my whole day of installing, configuring and compiling all the necessary stuff. And yes, the reason why this post is so long is that I have a lot of free time [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qtguy.wordpress.com&amp;blog=7795776&amp;post=6&amp;subd=qtguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Before you start developing Qt applications for the S60, you need to install proper tools. In this post I would like to sum up my whole day of installing, configuring and compiling all the necessary stuff. And yes, the reason why this post is so long is that I have a lot of free time while the Qt is compiling its bits off.</p>
<p>These are the tools I installed today:</p>
<ul>
<li>Carbide.c++ 2.0</li>
<li>Symbian SDK 5th edition 1.0</li>
<li>Qt for S60 4.5.0 &#8216;garden&#8217;</li>
</ul>
<p><span id="more-6"></span>I decided to follow these step-by-step <a href="http://pepper.troll.no/s60prereleases/doc/install-s60.html">installation instructions</a>.</p>
<p>So I installed Carbide C++ IDE, which in turn wanted me to install Perl runtime &#8211; and there&#8217;s a first problem. Apparently the recommended Active Perl version (5.6.1.635) installer has problems when run under Windows Vista &#8211; it ends with internal error 2739.</p>
<div id="attachment_7" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-7" title="perl fail" src="http://qtguy.files.wordpress.com/2009/05/perl-fail.jpg?w=300&#038;h=233" alt="perl fail" width="300" height="233" /><p class="wp-caption-text">Running th... again didn&#39;t fix the problem.</p></div>
<p>This turned out to be a general installer issue, and as explained <a href="http://community.activestate.com/forum-topic/installing-activeperl-5-6-1-vista">here</a>, it affects other programs too. The first solution I found &#8211; <a href="http://www.mydigitallife.info/2007/07/25/internal-error-2739-error-in-vista=-32-or-64-bit-when-install-adobe-photoshop-cs3-and-reflector-related-progra=ms/">for Adobe</a> products installation &#8211; helped with Active Perl as well. Great. I only had to add a path to the perl executables to PATH after that manually, no big deal.</p>
<p>Next we have the Symbian SDK 5th edition v1.0. One has to be careful to select a generic SDK, not the default N97 SDK for download. Frankly I&#8217;m not certain what the differences are, but I don&#8217;t have any N97s around, so thats why. The package took a while to download (600-ish megs) and a lot longer to install. It also included a CSL Arm Toolchain. The process, although a little long, went smooth.</p>
<p>The main beast of course was the Qt itself. I chose to use the &#8216;garden&#8217; release of mobile 4.5-based Qt, as its the newest at the moment. There are a couple things to do before you let the machine crunch for the rest of the day &#8211; and its all written <a href="http://pepper.troll.no/s60prereleases/doc/install-s60.html">here</a>.</p>
<p>The installation instructions cover all needed info for the compilation, so all you really need is to follow them and have a lot of time on your hands. The configuration took about an hour on my laptop with 2.1GHz CPU. The compilation itself took twice that long. Thats incomparably shorter to normal Qt release compilation. The reason is that the &#8216;garden&#8217; contains only some of Qt&#8217;s libraries:</p>
<ul>
<li>QtCore</li>
<li>QtGui</li>
<li>QtNetwork</li>
<li>QtScript</li>
<li>QtSvg</li>
<li>QtXml</li>
<li>QtTest</li>
</ul>
<p>And some are still incomplete, for the detailed info look at the <a href="http://pepper.troll.no/s60prereleases/packages/changes-4.5.0-garden">changelog</a>.</p>
<p>Thats it, the Qt is ready, SDK installed and Carbide is ready and running. Time for that Hello World! again.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qtguy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qtguy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qtguy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qtguy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qtguy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qtguy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qtguy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qtguy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qtguy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qtguy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qtguy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qtguy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qtguy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qtguy.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qtguy.wordpress.com&amp;blog=7795776&amp;post=6&amp;subd=qtguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qtguy.wordpress.com/2009/05/18/getting-ready/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8e5066736cc8ac66c25d7dc4e1001b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">qtguy</media:title>
		</media:content>

		<media:content url="http://qtguy.files.wordpress.com/2009/05/perl-fail.jpg?w=300" medium="image">
			<media:title type="html">perl fail</media:title>
		</media:content>
	</item>
		<item>
		<title>A Few Words Before We Start</title>
		<link>http://qtguy.wordpress.com/2009/05/18/few-words-before-start/</link>
		<comments>http://qtguy.wordpress.com/2009/05/18/few-words-before-start/#comments</comments>
		<pubDate>Mon, 18 May 2009 07:07:24 +0000</pubDate>
		<dc:creator>qtguy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[So here is yet another blog about Qt. I&#8217;m just beginnig my practical training here at ICT of Jyväskylä University of Applied Sciences in Finland &#8211; and the hot topic here is the anticipated release of Qt on S60. Seems I&#8217;ll be developing example applications on this platform for a while. I did some apps [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qtguy.wordpress.com&amp;blog=7795776&amp;post=1&amp;subd=qtguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So here is yet another blog about Qt.</p>
<p>I&#8217;m just beginnig my practical training here at ICT of Jyväskylä University of Applied Sciences in Finland &#8211; and the hot topic here is the anticipated release of Qt on S60. Seems I&#8217;ll be developing example applications on this platform for a while. I did some apps in Qt before, but as I don&#8217;t have any mentionable experience with mobile programming, there are a lot of questions in my head. Here I would like to sum up my experience with this environment and present the answers as I discover them.</p>
<p>I hope somebody will find this useful.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/qtguy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/qtguy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/qtguy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/qtguy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/qtguy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/qtguy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/qtguy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/qtguy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/qtguy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/qtguy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/qtguy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/qtguy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/qtguy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/qtguy.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=qtguy.wordpress.com&amp;blog=7795776&amp;post=1&amp;subd=qtguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://qtguy.wordpress.com/2009/05/18/few-words-before-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8e5066736cc8ac66c25d7dc4e1001b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">qtguy</media:title>
		</media:content>
	</item>
	</channel>
</rss>
