<?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>Anderson Lizardo&#039;s Blog</title>
	<atom:link href="http://lizardo.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://lizardo.wordpress.com</link>
	<description>My Free/Open Source Software activity log, and random bits</description>
	<lastBuildDate>Fri, 30 Dec 2011 19:16:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='lizardo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Anderson Lizardo&#039;s Blog</title>
		<link>http://lizardo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://lizardo.wordpress.com/osd.xml" title="Anderson Lizardo&#039;s Blog" />
	<atom:link rel='hub' href='http://lizardo.wordpress.com/?pushpress=hub'/>
		<item>
		<title>My blog in 2010</title>
		<link>http://lizardo.wordpress.com/2011/01/02/my-blog-in-2010/</link>
		<comments>http://lizardo.wordpress.com/2011/01/02/my-blog-in-2010/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 13:44:01 +0000</pubDate>
		<dc:creator>lizardo</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://lizardo.wordpress.com/?p=258</guid>
		<description><![CDATA[The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here&#8217;s a high level summary of its overall blog health: The Blog-Health-o-Meter™ reads Wow. Crunchy numbers A helper monkey made this abstract painting, inspired by your stats. About 3 million people visit the Taj Mahal every year. This blog was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=258&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[
<p>The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here&#8217;s a high level summary of its overall blog health:</p>
<p align="center"><img style="border:1px solid #ddd;background:#f5f5f5;padding:20px;" src="http://s0.wp.com/i/annual-recap/meter-healthy5.gif" width="250" height="183" alt="Healthy blog!"></p>
<p align="center">The <em>Blog-Health-o-Meter™</em> reads Wow.</p>
<h2>Crunchy numbers</h2>
<div style="width:288px;float:right;border:1px solid #ddd;background:#fff;margin:0 0 1em 1em;padding:6px;">
<p>				<img src="http://s0.wp.com/i/annual-recap/abstract-stats-4.png" alt="Featured image" /><br />
				<br /><em>A helper monkey made this abstract painting, inspired by your stats.</em></p></div>
<p>About 3 million people visit the Taj Mahal every year.  This blog was viewed about <strong>30,000</strong> times in 2010.  If it were the Taj Mahal, it would take about 4 days for that many people to see it.</p>
<p>
<p>In 2010, there were <strong>8</strong> new posts, growing the total archive of this blog to 27 posts.</p>
<p>The busiest day of the year was August 27th with <strong>328</strong> views. The most popular post that day was <a style="color:#08c;" href="http://lizardo.wordpress.com/2010/08/26/running-pyside-applications-on-qt-simulator/">Running PySide applications on Qt Simulator</a>.</p>
<p></p>
<h2>Where did they come from?</h2>
<p>The top referring sites in 2010 were <strong>developer.symbian.org</strong>, <strong>maemo.org</strong>, <strong>labs.trolltech.com</strong>, <strong>labs.qt.nokia.com</strong>, and <strong>thezeroth.net</strong>.</p>
<p>Some visitors came searching, mostly for <strong>undefined reference to `vtable for</strong>, <strong>undefined reference to vtable</strong>, <strong>qt symbian linux</strong>, <strong>undefined reference to vtable for</strong>, and <strong>undefined reference to `vtable</strong>.</p>
<div style="clear:both;"></div>
<h2>Attractions in 2010</h2>
<p>These are the posts and pages that got the most views in 2010.</p>
<div style="clear:left;float:left;font-size:24pt;line-height:1em;margin:-5px 10px 20px 0;">1</div>
<p>					<a style="margin-right:10px;" href="http://lizardo.wordpress.com/2010/08/26/running-pyside-applications-on-qt-simulator/">Running PySide applications on Qt Simulator</a> <span style="color:#999;font-size:8pt;">August 2010</span><br />2 comments											</p>
<div style="clear:left;float:left;font-size:24pt;line-height:1em;margin:-5px 10px 20px 0;">2</div>
<p>					<a style="margin-right:10px;" href="http://lizardo.wordpress.com/2010/02/18/installing-qt-for-symbian-sdk-4-6-2-on-linux/">Installing Qt for Symbian SDK 4.6.2 on Linux</a> <span style="color:#999;font-size:8pt;">February 2010</span><br />44 comments and 1 Like on WordPress.com,											</p>
<div style="clear:left;float:left;font-size:24pt;line-height:1em;margin:-5px 10px 20px 0;">3</div>
<p>					<a style="margin-right:10px;" href="http://lizardo.wordpress.com/2009/04/24/undefined-reference-to-vtable-for-errors-in-qt-derived-classes/">&#8220;undefined reference to `vtable for &#8230;&#8217; errors&#8221; in Qt derived classes</a> <span style="color:#999;font-size:8pt;">April 2009</span><br />8 comments											</p>
<div style="clear:left;float:left;font-size:24pt;line-height:1em;margin:-5px 10px 20px 0;">4</div>
<p>					<a style="margin-right:10px;" href="http://lizardo.wordpress.com/2010/01/21/installing-qt-for-symbian-sdk-4-6-1-on-linux/">Installing Qt for Symbian SDK 4.6.1 on Linux</a> <span style="color:#999;font-size:8pt;">January 2010</span><br />43 comments											</p>
<div style="clear:left;float:left;font-size:24pt;line-height:1em;margin:-5px 10px 20px 0;">5</div>
<p>					<a style="margin-right:10px;" href="http://lizardo.wordpress.com/2009/07/29/running-qt-for-s60-sdk-on-linux/">Running Qt for S60 SDK on Linux</a> <span style="color:#999;font-size:8pt;">July 2009</span><br />12 comments											</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lizardo.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lizardo.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lizardo.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lizardo.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lizardo.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lizardo.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lizardo.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lizardo.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lizardo.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lizardo.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lizardo.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lizardo.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lizardo.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lizardo.wordpress.com/258/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=258&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lizardo.wordpress.com/2011/01/02/my-blog-in-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bad296baf84de6e80b49eacfc1fef64a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">lizardo</media:title>
		</media:content>

		<media:content url="http://s0.wp.com/i/annual-recap/meter-healthy5.gif" medium="image">
			<media:title type="html">Healthy blog!</media:title>
		</media:content>

		<media:content url="http://s0.wp.com/i/annual-recap/abstract-stats-4.png" medium="image">
			<media:title type="html">Featured image</media:title>
		</media:content>
	</item>
		<item>
		<title>PySide 1.0.0~beta1 binaries released for Ubuntu</title>
		<link>http://lizardo.wordpress.com/2010/12/07/pyside-1-0-0beta1-binaries-released-for-ubuntu/</link>
		<comments>http://lizardo.wordpress.com/2010/12/07/pyside-1-0-0beta1-binaries-released-for-ubuntu/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 15:20:31 +0000</pubDate>
		<dc:creator>lizardo</dc:creator>
				<category><![CDATA[Debian/Ubuntu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[pyside]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://lizardo.wordpress.com/?p=254</guid>
		<description><![CDATA[Didier &#8216;OdyX&#8217; Raboud once again borrowed his great Debian packaging/integration skills to the PySide project, and created packages for the latest Ubuntu releases (including the development one, codenamed &#8220;natty&#8221;). They are available on the official repository. See the download instructions page for more details. See also the original announcement.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=254&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Didier &#8216;OdyX&#8217; Raboud once again borrowed his great Debian packaging/integration skills to the PySide project, and created packages for the latest Ubuntu releases (including the development one, codenamed &#8220;natty&#8221;). They are available on the <a href="https://launchpad.net/~pyside/+archive/ppa">official repository</a>. See the <a href="http://developer.qt.nokia.com/wiki/PySideBinariesLinux">download instructions page</a> for more details. See also the <a href="http://lists.openbossa.org/pipermail/pyside/2010-December/001562.html">original announcement</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lizardo.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lizardo.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lizardo.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lizardo.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lizardo.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lizardo.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lizardo.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lizardo.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lizardo.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lizardo.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lizardo.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lizardo.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lizardo.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lizardo.wordpress.com/254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=254&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lizardo.wordpress.com/2010/12/07/pyside-1-0-0beta1-binaries-released-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bad296baf84de6e80b49eacfc1fef64a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">lizardo</media:title>
		</media:content>
	</item>
		<item>
		<title>Qt 4.7.0 for Symbian on Linux (now with Qt Creator support!)</title>
		<link>http://lizardo.wordpress.com/2010/10/11/qt-4-7-0-for-symbian-on-linux-now-with-qt-creator-support/</link>
		<comments>http://lizardo.wordpress.com/2010/10/11/qt-4-7-0-for-symbian-on-linux-now-with-qt-creator-support/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 16:08:16 +0000</pubDate>
		<dc:creator>lizardo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[S60]]></category>
		<category><![CDATA[symbian]]></category>

		<guid isPermaLink="false">http://lizardo.wordpress.com/?p=240</guid>
		<description><![CDATA[It&#8217;s been some time since my last update on the Qt for Symbian Linux installer. My colleague Bruno Abinader did a great job in the meantime, by releasing his own modified &#8220;all-in-one&#8221; script that installed gnupoc, Qt, Qt Mobility and Smart Installer . From now on, I&#8217;ll follow Bruno&#8217;s idea and provide a single script [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=240&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been some time since my last update on the Qt for Symbian Linux installer. My colleague Bruno Abinader did a great job in the meantime, by releasing his own <a href="http://cabledogs.org/abinader/2010/08/18/updated-unofficial-qt-for-symbian-4-6-3-all-in-one-linux-installer-script/">modified &#8220;all-in-one&#8221; script</a> that installed gnupoc, Qt, Qt Mobility and Smart Installer <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p>
<p>From now on, I&#8217;ll follow Bruno&#8217;s idea and provide a single script that installs everything you need for Qt for Symbian development on Linux. This version will install just gnupoc and Qt, but next ones should support Qt Mobility and Smart Installer as well. I also temporarily disabled support for S60 3.1 SDK, so for now there is only S60 5.0 SDK support.</p>
<p>Some of you might have noticed that the official Qt 4.7.0 documentation has some experimental <a href="http://doc.qt.nokia.com/4.7/install-symbian-linux.html">installation instructions</a> for Linux. Unfortunately, it requires compiling Qt from sources, which might take  long time and currently requires the non-free ARM RVCT compiler. The instructions on this post are my attempt on creating a usable setup in a user-friendly way.</p>
<p>So, enough explanations, let&#8217;s go to the instructions!</p>
<h1>Preparation</h1>
<p>Download all required files to a single directory (e.g. &#8220;~/downloads&#8221;):</p>
<ul>
<li><a href="http://www.codesourcery.com/public/gnu_toolchain/arm-none-symbianelf/gnu-csl-arm-2005Q1C-arm-none-symbianelf-i686-pc-linux-gnu.tar.bz2">gnu-csl-arm-2005Q1C-arm-none-symbianelf-i686-pc-linux-gnu.tar.bz2</a> (11MB): CodeSourcery’s ARM toolchain for Symbian</li>
<li><a href="http://www.martin.st/symbian/gnupoc-package-1.17.tar.gz">gnupoc-package-1.17.tar.gz</a> (8.6 MB): tools and patches to run Symbian SDK on Linux</li>
<li><a href="http://get.qt.nokia.com/qt/source/qt-symbian-opensource-4.7.0-s60.exe">qt-symbian-opensource-4.7.0-s60.exe</a> (262 MB): Qt for Open Source C++ development on Symbian</li>
<li><a href="http://www.forum.nokia.com/Library/Tools_and_downloads/Other/Symbian_SDKs/">S60_5th_Edition_SDK_v1_0_en.zip</a> (622MB): S60 SDK for Symbian OS (click on the “Download S60 and Symbian SDKs” button)</li>
<li><a href="http://www.forum.nokia.com/Develop/Other_Technologies/Symbian_C++/Tools/">s60_open_c_cpp_plug_in_v1_7_en.zip</a> (31 MB): Open C/C++ Plug-ins (under &#8220;Plug-ins for the Symbian SDKs&#8221; section)</li>
<li><a href="http://franciscoalecrim.com/lizardo/qt_for_symbian_4.7.0_linux_installer_v4.sh">qt_for_symbian_4.7.0_linux_installer_v4.sh</a>: Unofficial Qt for Symbian installer for Linux</li>
</ul>
<p>For building the native tools from gnupoc, you will need:</p>
<ul>
<li>the GCC C/C++ compilers</li>
<li>development files for zlib</li>
<li>development files for openssl</li>
</ul>
<p>On Ubuntu, you can install these using the following command:</p>
<p><code>sudo apt-get install build-essential zlib1g-dev libssl-dev</code></p>
<h1>Installation</h1>
<p>Install everything using a single command:</p>
<p><code>./qt_for_symbian_4.7.0_linux_installer_v4.sh \<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;download-dir&gt; \<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;install-dir&gt;</code></p>
<p>Replace &lt;download-dir&gt; with the location of all files downloaded in previous section (e.g. &#8220;~/downloads&#8221;), and &lt;install-dir&gt; with the destination directory (e.g. &#8220;~/gnupoc&#8221;). Note that both directories must have absolute paths.</p>
<p>If installation was successful, you should see the message &#8220;Installation has finished!&#8221; followed by some instructions. Follow those to setup Qt Creator and/or command line.</p>
<h1>Device setup</h1>
<p>Install Qt on the phone, by copying and installing the &lt;install-dir&gt;/qt_4.7.0/qt_installer.sis package. This single SIS file has all necessary dependencies for running Qt applications.</p>
<p>Additionally, if you plan to use Qt Creator, I suggest installing <a href="http://tools.ext.nokia.com/trk/s60_5_0_app_trk_3_2_7.sisx">s60_5_0_app_trk_3_2_7.sisx</a>. It will allow quickly testing your application directly on the device through bluetooth. Also make sure your desktop and phone are paired, then run these commands:</p>
<p><code>sdptool browse local | grep -q "Service Name: Serial Port" \<br />
&nbsp;&nbsp;|| sdptool add SP<br />
sudo rfcomm listen rfcomm0</code></p>
<p>The first command makes sure the Serial Port service is only added once, and the second one creates the /dev/rfcomm0 device. You should see output like:</p>
<p><code>Serial Port service registered<br />
Waiting for connection on channel 1</code></p>
<p>On the phone, open App TRK (It should be under the &#8220;RnD Tools&#8221; directory). It will show &#8220;Status: Not connected&#8221;. Go to Options -&gt; Settings, and make sure &#8220;Connection&#8221; is set to &#8220;Bluetooth&#8221;. Next, go to Options -&gt; Connect and select your desktop from the Bluetooth devices shown. On the phone, you should see:</p>
<p><code>Status: Connected<br />
BT Dev Name: &lt;your_computer_name&gt;<br />
BT Port number: 1</code></p>
<p>While on your desktop console:</p>
<p><code>...<br />
Connection from XX:XX:XX:XX:XX:XX to /dev/rfcomm0<br />
Press CTRL-C for hangup</code></p>
<p>Now, when you click &#8220;Run&#8221; on Qt Creator, you should see something like this on its &#8220;Console Window&#8221;:</p>
<p><code>Executable file:  /home/lizardo/gnupoc/sdk_5.0/epoc32/release/$(PLATFORM)/$(TARGET)/animatedtiles.exe<br />
Package: 117288 2010-10-11T11:43:23 /home/lizardo/NokiaQtSDK/Examples/4.6/animation/animatedtiles/animatedtiles.sis<br />
Deploying application to 'Bluetooth device (/dev/rfcomm0)'...<br />
Copying installation file...<br />
Installing application...<br />
Starting application...<br />
Application running with pid 1134.</code></p>
<p>And the application should install and open directly on your phone <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Enjoy!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lizardo.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lizardo.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lizardo.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lizardo.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lizardo.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lizardo.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lizardo.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lizardo.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lizardo.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lizardo.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lizardo.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lizardo.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lizardo.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lizardo.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=240&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lizardo.wordpress.com/2010/10/11/qt-4-7-0-for-symbian-on-linux-now-with-qt-creator-support/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bad296baf84de6e80b49eacfc1fef64a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">lizardo</media:title>
		</media:content>
	</item>
		<item>
		<title>Running PySide applications on Qt Simulator</title>
		<link>http://lizardo.wordpress.com/2010/08/26/running-pyside-applications-on-qt-simulator/</link>
		<comments>http://lizardo.wordpress.com/2010/08/26/running-pyside-applications-on-qt-simulator/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 14:20:41 +0000</pubDate>
		<dc:creator>lizardo</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[pyside]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://lizardo.wordpress.com/?p=228</guid>
		<description><![CDATA[Some may have noticed that the Nokia Qt SDK contains a simulator for Qt applications on Nokia devices. It consists of the simulator application, plus Qt libraries built for its platform (Q_WS_SIMULATOR), which basically &#8220;wraps&#8221; the target application on the simulator window (and allows to simulate various events of the target device). It has been [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=228&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some may have noticed that the <a href="http://www.forum.nokia.com/Develop/Qt/Tools/">Nokia Qt SDK</a> contains a simulator for Qt applications on Nokia devices. It consists of the simulator application, plus Qt libraries built for its platform (Q_WS_SIMULATOR), which basically &#8220;wraps&#8221; the target application on the simulator window (and allows to simulate various events of the target device).</p>
<p>It has been <a href="http://talk.maemo.org/showthread.php?t=57259">asked</a> on the Maemo.org Talk whether it would be possible to run PySide applications on the simulator. Technically, it would be as simple as building PySide against the simulator libraries&#8230; and indeed it was! Well, at least after a couple of <a href="http://qt.gitorious.org/pyside/pyside/merge_requests/2203">patches</a>, I managed to make it work, as can be seen on the screenshot below (for the curious the application running on it is the &#8220;hyperui&#8221; demo from pyside-examples repository):</p>
<p><img alt="Qt Simulator running PySide" src="http://franciscoalecrim.com/lizardo/Screenshot-Qt%20Simulator.png" title="Qt Simulator running PySide" class="aligncenter" width="718" height="718" /></p>
<p>For anyone willing to try, you just need to download the latest PySide code, apply the <a href="http://qt.gitorious.org/pyside/pyside/merge_requests/2203">patches</a> not yet upstream (to the pyside.git tree), and build everything as per <a href="http://www.pyside.org/docs/pyside/howto-build/index.html">official instructions</a>, with these notes:</p>
<ul>
<li>When building PySide, add the directory which contains the Qt tools for the Simulator platform (usually &#8220;&lt;SDK_installation_dir&gt;/Simulator/Qt/gcc/bin&#8221;) to your PATH (taking care to add it before other directories which contain Qt tools).</li>
<li>When building PySide, add -DQ_WS_SIMULATOR=yes to the cmake command. This is necessary because currently CMake does not detect the Simulator platform, thus requiring us to force it.</li>
<li>When running applications, remember to set LD_LIBRARY_PATH to point to the Simulator libraries, otherwise the application might try to be run with your system Qt libraries, which will probably fail.
</ul>
<p>To make testing easier, I built PySide binaries (from git snapshots) for the Simulator libraries shipped in Nokia Qt SDK 1.0. You can download them <a href="http://franciscoalecrim.com/lizardo/pyside-simulator-py2.6-qt4.7-bin.tar.bz2">here</a>. They were built on Ubuntu 10.04 (32-bit), but will probably work on other (32-bit) distributions. Also note it was build for Python 2.6. To use these binaries, unpack the tarball and modify the &#8220;qt_sdk_dir&#8221; in run_with_simulator.sh to point to your Nokia Qt SDK installation directory. Next, run:</p>
<pre>./run_with_simulator.sh /path/to/app.py</pre>
<p>And your application should run under the simulator (the simulator opens automatically if not already running).</p>
<h1>TODO</h1>
<ul>
<li>Apply required PySide patches upstream (they are currently under review).</li>
<li>Attempt to build PySide Mobility as well.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lizardo.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lizardo.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lizardo.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lizardo.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lizardo.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lizardo.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lizardo.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lizardo.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lizardo.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lizardo.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lizardo.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lizardo.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lizardo.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lizardo.wordpress.com/228/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=228&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lizardo.wordpress.com/2010/08/26/running-pyside-applications-on-qt-simulator/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bad296baf84de6e80b49eacfc1fef64a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">lizardo</media:title>
		</media:content>

		<media:content url="http://franciscoalecrim.com/lizardo/Screenshot-Qt%20Simulator.png" medium="image">
			<media:title type="html">Qt Simulator running PySide</media:title>
		</media:content>
	</item>
		<item>
		<title>Python bindings for Qt Mobility APIs now available</title>
		<link>http://lizardo.wordpress.com/2010/08/19/python-bindings-for-qt-mobility-apis-now-available/</link>
		<comments>http://lizardo.wordpress.com/2010/08/19/python-bindings-for-qt-mobility-apis-now-available/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 11:03:47 +0000</pubDate>
		<dc:creator>lizardo</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[pyside]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://lizardo.wordpress.com/?p=220</guid>
		<description><![CDATA[Are you a Python developer, feeling envious of your C++-coding buddies cranking out N900 Qt applications with all those nice Qt Mobility APIs? No reason for envy any longer: The PyMaemo/PySide team is proud to present PySide Mobility: Python bindings for the Qt Mobility APIs! Combining the power of Python and the Nokia-sponsored PySide Qt [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=220&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p>Are you a Python developer, feeling envious of your C++-coding buddies cranking out N900 Qt applications with all those nice <a href="http://qt.nokia.com/products/appdev/add-on-products/catalog/4/new-qt-apis/mobility">Qt Mobility APIs</a>? No reason for envy any longer: The PyMaemo/PySide team is proud to present PySide Mobility: Python bindings for the Qt Mobility APIs! Combining the power of Python and the Nokia-sponsored <a href="http://www.pyside.org/">PySide</a> Qt bindings with the capabilities of Qt Mobility, you&#8217;ll be spewing out impressive apps for N900 like never before!</p></blockquote>
<p><a href="http://lists.maemo.org/pipermail/maemo-developers/2010-August/027376.html">Original announcement</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lizardo.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lizardo.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lizardo.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lizardo.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lizardo.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lizardo.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lizardo.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lizardo.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lizardo.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lizardo.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lizardo.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lizardo.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lizardo.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lizardo.wordpress.com/220/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=220&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lizardo.wordpress.com/2010/08/19/python-bindings-for-qt-mobility-apis-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bad296baf84de6e80b49eacfc1fef64a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">lizardo</media:title>
		</media:content>
	</item>
		<item>
		<title>PySide for Maemo 5 rebuilt for Qt 4.6.2 final release</title>
		<link>http://lizardo.wordpress.com/2010/02/19/pyside-for-maemo-5-rebuilt-for-qt-4-6-2-final-release/</link>
		<comments>http://lizardo.wordpress.com/2010/02/19/pyside-for-maemo-5-rebuilt-for-qt-4-6-2-final-release/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 13:53:13 +0000</pubDate>
		<dc:creator>lizardo</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[pyside]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://lizardo.wordpress.com/?p=210</guid>
		<description><![CDATA[Qt 4.6.2 for Maemo 5 was released this week. Due to some changes prior to the final Qt release, PySide users might have seen this error when trying to use QtQui: Traceback (most recent call last): File "&#60;string&#62;", line 1, in &#60;module&#62; ImportError: /usr/lib/pymodules/python2.5/PySide/QtGui.so: undefined symbol: _ZNK24QAbstractKineticScroller10metaObjectEv To fix this, we rebuilt the PySide 0.2.3 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=210&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Qt 4.6.2 for Maemo 5 was released <a href="http://labs.trolltech.com/blogs/2010/02/15/qt-462-for-maemo-5-released/">this week</a>. Due to some changes prior to the final Qt release, PySide users might have seen this error when trying to use QtQui:</p>
<p><code>Traceback (most recent call last):<br />
 File "&lt;string&gt;", line 1, in &lt;module&gt;<br />
ImportError: /usr/lib/pymodules/python2.5/PySide/QtGui.so: undefined symbol: _ZNK24QAbstractKineticScroller10metaObjectEv</code></p>
<p>To fix this, we rebuilt the PySide 0.2.3 packages against the Qt 4.6.2 release, and now it should be working again. So make sure you are using the latest PySide packages on Maemo 5 (0.2.3-1maemo3) and enjoy!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lizardo.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lizardo.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lizardo.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lizardo.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lizardo.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lizardo.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lizardo.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lizardo.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lizardo.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lizardo.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lizardo.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lizardo.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lizardo.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lizardo.wordpress.com/210/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=210&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lizardo.wordpress.com/2010/02/19/pyside-for-maemo-5-rebuilt-for-qt-4-6-2-final-release/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bad296baf84de6e80b49eacfc1fef64a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">lizardo</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Qt for Symbian SDK 4.6.2 on Linux</title>
		<link>http://lizardo.wordpress.com/2010/02/18/installing-qt-for-symbian-sdk-4-6-2-on-linux/</link>
		<comments>http://lizardo.wordpress.com/2010/02/18/installing-qt-for-symbian-sdk-4-6-2-on-linux/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 04:01:53 +0000</pubDate>
		<dc:creator>lizardo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[S60]]></category>
		<category><![CDATA[symbian]]></category>

		<guid isPermaLink="false">http://lizardo.wordpress.com/?p=202</guid>
		<description><![CDATA[Qt 4.6.2 was released last Monday, so I took some time to update the GnuPoc and Qt installer scripts I previously released for 4.6.1. Besides the upgrade to Qt 4.6.2, there are other minor changes: Both installers now check MD5 signatures of the necessary files, to make sure they are not corrupted. The GnuPoc installer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=202&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Qt 4.6.2 <a href="http://labs.trolltech.com/blogs/2010/02/15/qt-462-released/">was released</a> last Monday, so I took some time to update the GnuPoc and Qt installer scripts I <a href="http://lizardo.wordpress.com/2010/01/21/installing-qt-for-symbian-sdk-4-6-1-on-linux/">previously</a> released for 4.6.1.</p>
<p>Besides the upgrade to Qt 4.6.2, there are other minor changes:</p>
<ul>
<li>Both installers now check MD5 signatures of the necessary files, to make sure they are not corrupted.</li>
<li>The GnuPoc installer now supports the 3.1 SDK (see updated instructions below).</li>
<li>Added &#8220;unset QMAKESPEC&#8221; command to setup instructions (at least Gentoo sets it globally, which affects qmake).</li>
</ul>
<p>The instructions are basically the same as the previous ones, but I will post the full instructions here for completeness.</p>
<h1>Preparation</h1>
<p>Download all required files to a single directory (e.g. &#8220;~/downloads&#8221;):</p>
<ul>
<li><a href="http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/Platforms/S60_Platform_SDKs/">S60_5th_Edition_SDK_v1_0_en.zip (623MB) or S60-SDK-200634-3.1-Cpp-f.1090b.zip (355MB)</a>: S60 SDK for Symbian OS (be sure to click on the &#8220;Download all-in-one S60 SDKs&#8221; button for 5th edition, or &#8220;Download S60 SDKs for C++&#8221; for 3rd edition, FP1)</li>
<li><a href="http://www.forum.nokia.com/Technology_Topics/Development_Platforms/Open_C_and_C++/">s60_open_c_cpp_plug_in_v1_6_en.zip</a> (35MB): Open C/C++ Plug-in</li>
<li><a href="http://get.qt.nokia.com/qt/source/qt-symbian-opensource-4.6.2.exe">qt-symbian-opensource-4.6.2.exe</a> (201MB): Qt for Open Source C++ development on Symbian</li>
<li><a href="http://www.codesourcery.com/sgpp/lite/arm/releases/2005Q1C">gnu-csl-arm-2005Q1C-arm-none-symbianelf-i686-pc-linux-gnu.tar.bz2</a> (11MB): CodeSourcery’s ARM toolchain for Symbian</li>
<li><a href="http://www.martin.st/symbian/gnupoc-package-1.15.tar.gz">gnupoc-package-1.15.tar.gz</a> (6.2MB): tools and patches to run Symbian SDK on Linux</li>
<li><a href="http://franciscoalecrim.com/lizardo/gnupoc_1.15_installer_v2.sh">gnupoc_1.15_installer_v2.sh</a>: Unofficial GnuPoc installer (supports 3.1 and 5.0 SDKs)</li>
<li><a href="http://franciscoalecrim.com/lizardo/qt_for_symbian_4.6.2_linux_installer_v3.sh">qt_for_symbian_4.6.2_linux_installer_v3.sh</a>: Unofficial Qt for Symbian installer for Linux</li>
</ul>
<p>For building the native tools from gnupoc, you will need:</p>
<ul>
<li>the GCC C/C++ compilers</li>
<li>development files for zlib</li>
<li>development files for openssl</li>
</ul>
<p>On Ubuntu, you can install these using the following command:</p>
<p><code>sudo apt-get install build-essential zlib1g-dev libssl-dev</code></p>
<h1>Installation</h1>
<p>First, install GnuPoc + S60 SDK + the Open C/C++ plugin:</p>
<p><code>./gnupoc_1.15_installer_v2.sh \<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;download-dir&gt; \<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;gnupoc-dir&gt;\<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;x.y&gt;</code></p>
<p>Replace &lt;download-dir&gt; with the location of all files downloaded in previous section (e.g. &#8220;~/downloads&#8221;), &lt;gnupoc-dir&gt; with the destination directory for GnuPoc and the SDK files (e.g. &#8220;~/gnupoc&#8221;) and &lt;x.y&gt; with the SDK version you want to install (e.g. &#8220;3.1&#8243; or &#8220;5.0&#8243;). Note that both directories must have absolute paths.</p>
<p>If installation was successful, you should see an output like:</p>
<p><code>Installation has finished. Before using the GnuPoc SDK, run these commands on the console:<br />
&nbsp;<br />
export PATH=&lt;gnupoc-dir&gt;/bin:$PATH<br />
export EPOCROOT=&lt;gnupoc-dir&gt;/symbian-sdks/5.0/ # trailing "/" is required!<br />
&nbsp;<br />
(These commands must be run again every time a new console is opened.)</code></p>
<p>Run the commands as instructed on the message. Next, install Qt for Symbian:</p>
<p><code>./qt_for_symbian_4.6.2_linux_installer_v3.sh \<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;download-dir&gt; \<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;qt-s60-dir&gt;</code></p>
<p>Replace &lt;download-dir&gt; with the location of all files downloaded in previous section (e.g. &#8220;~/downloads&#8221;), and &lt;qt-s60-dir&gt; with the destination directory for the Qt files (e.g. &#8220;~/gnupoc/qt-4.6.2&#8243;). Note that both directories must have absolute paths.</p>
<p>If installation was successful, you should see an output like:<br />
<code>Installation has finished. Before using the Qt for Symbian SDK, run this command on the console:<br />
&nbsp;<br />
export PATH=&lt;qt-s60-dir&gt;/bin:$PATH<br />
unset QMAKESPEC&nbsp;&nbsp;&nbsp;&nbsp;# make sure there is no QMAKESPEC variable set<br />
&nbsp;<br />
(This command must be run again every time a new console is opened.)</code></p>
<p>Before using Qt for Symbian, you should run the command as instructed on the message above.</p>
<h1>Usage example</h1>
<p>To test the installation, I will describe how to build the &#8220;colliding mice&#8221; example.</p>
<ol>
<li>cd into the example source:</li>
<p>	<code>cd &lt;qt-s60-dir&gt;/examples/graphicsview/collidingmice/</code></p>
<li>Now build the example and generate the SIS file</li>
<p>	<code>qmake<br />
make debug-gcce<br />
make sis</code>
</ol>
<p>A few notes:</p>
<ul>
<li>Make sure Qt is installed on the device before installing Qt applications. The easiest way to install it is to copy the &#8220;qt_installer.sis&#8221; package found under &lt;qt-s60-dir&gt; over bluetooth and open the received message to begin the installation.</li>
<li>Only the &#8220;debug-gcce&#8221; (if you are using the GCCE toolchain AKA &#8220;CodeSourcery toolchain&#8221;) or &#8220;debug-armv5&#8243; (if you are using RVCT) will work, because the current Qt releases only ship debug versions of the libraries</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lizardo.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lizardo.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lizardo.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lizardo.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lizardo.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lizardo.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lizardo.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lizardo.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lizardo.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lizardo.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lizardo.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lizardo.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lizardo.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lizardo.wordpress.com/202/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=202&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lizardo.wordpress.com/2010/02/18/installing-qt-for-symbian-sdk-4-6-2-on-linux/feed/</wfw:commentRss>
		<slash:comments>48</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bad296baf84de6e80b49eacfc1fef64a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">lizardo</media:title>
		</media:content>
	</item>
		<item>
		<title>Python tutorial: Accessing APIs without Python bindings</title>
		<link>http://lizardo.wordpress.com/2010/02/02/python-tutorial-accessing-apis-without-python-bindings/</link>
		<comments>http://lizardo.wordpress.com/2010/02/02/python-tutorial-accessing-apis-without-python-bindings/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 13:43:21 +0000</pubDate>
		<dc:creator>lizardo</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://lizardo.wordpress.com/?p=198</guid>
		<description><![CDATA[The PyMaemo team has prepared a short tutorial with an actual example on how to access APIs for which there are no Python bindings yet. libosso-abook was used as an example, but in practice, you can access any C libraries using the same approach. This technique can be used while we do not finish implementing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=198&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://pymaemo.garage.maemo.org/">PyMaemo</a> team has prepared a <a href="http://wiki.maemo.org/PyMaemo/Accessing_APIs_without_Python_bindings">short tutorial</a> with an actual example on how to access APIs for which there are no Python bindings yet. <a href="http://maemo.org/api_refs/5.0/5.0-final/libosso-abook/">libosso-abook</a> was used as an example, but in practice, you can access any C libraries using the same approach. This technique can be used while we do not finish implementing the full Maemo API.</p>
<p>Enjoy. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lizardo.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lizardo.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lizardo.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lizardo.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lizardo.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lizardo.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lizardo.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lizardo.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lizardo.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lizardo.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lizardo.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lizardo.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lizardo.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lizardo.wordpress.com/198/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=198&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lizardo.wordpress.com/2010/02/02/python-tutorial-accessing-apis-without-python-bindings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bad296baf84de6e80b49eacfc1fef64a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">lizardo</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Qt for Symbian SDK 4.6.1 on Linux</title>
		<link>http://lizardo.wordpress.com/2010/01/21/installing-qt-for-symbian-sdk-4-6-1-on-linux/</link>
		<comments>http://lizardo.wordpress.com/2010/01/21/installing-qt-for-symbian-sdk-4-6-1-on-linux/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 13:47:33 +0000</pubDate>
		<dc:creator>lizardo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[S60]]></category>
		<category><![CDATA[symbian]]></category>

		<guid isPermaLink="false">http://lizardo.wordpress.com/?p=179</guid>
		<description><![CDATA[***For Qt 4.6.2 and S60 3.1 SDK support, be sure to read the updated post*** Update (2010-01-27): New version of Qt installer (v2). Qt 4.6.1 was released last Tuesday, so I took some time to update my Linux support patches for Qt (which are now merged in qt-s60 tree and hopefully will be in main [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=179&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><b>***For Qt 4.6.2 and S60 3.1 SDK support, be sure to read the <a href="http://lizardo.wordpress.com/2010/02/18/installing-qt-for-symbian-sdk-4-6-2-on-linux/">updated post</a>***</b></p>
<p><b>Update (2010-01-27):</b> New version of Qt installer (v2).</p>
<p>Qt 4.6.1 <a href="http://labs.trolltech.com/blogs/2010/01/19/qt-461-released/">was released</a> last Tuesday, so I took some time to update my Linux support patches for Qt (which are now merged in <a href="http://qt.gitorious.org/+qt-s60-developers/qt/qt-s60/commit/0d92fc13baac9d354a7d3a2665ca3bb4127bd606">qt-s60</a> tree and hopefully will be in main Qt tree at some point) and GnuPoc (which, thanks to Martin, are now integrated into the latest release).</p>
<p>I had a couple of <a href="http://lizardo.wordpress.com/2009/07/29/running-qt-for-s60-sdk-on-linux/">previous</a> <a href="http://lizardo.wordpress.com/2009/09/24/installing-qt-for-s60-daily-snapshots-on-linux/">posts</a> detailing instructions on how to install the SDK on Linux, but after some time, it became too boring to run those commands manually, and some people asked for a script. So, from now on, I will provide two installers to make the process much more automated and simple: one installer for GnuPoc + Open C/C++ plugin, and another for the Qt for Symbian SDK.</p>
<p>Note that currently the GnuPoc installer handles only the S60 5.0 SDK. If someone is interested on a 3.1 SDK installer let me know so I can add support for it too.</p>
<h1>Preparation</h1>
<p>Download all required files to a single directory (e.g. &#8220;~/downloads&#8221;):</p>
<ul>
<li><a href="http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/Platforms/S60_Platform_SDKs/">S60_5th_Edition_SDK_v1_0_en.zip</a> (623MB): S60 5th Edition SDK for Symbian OS (be sure to click on the &#8220;Download all-in-one SDKs&#8221; button on that page)</li>
<li><a href="http://www.forum.nokia.com/Technology_Topics/Development_Platforms/Open_C_and_C++/">s60_open_c_cpp_plug_in_v1_6_en.zip</a> (35MB): Open C/C++ Plug-in</li>
<li><a href="http://get.qt.nokia.com/qt/source/qt-symbian-opensource-4.6.1.exe">qt-symbian-opensource-4.6.1.exe</a> (209MB): Qt for Open Source C++ development on Symbian</li>
<li><a href="http://www.codesourcery.com/sgpp/lite/arm/releases/2005Q1C">gnu-csl-arm-2005Q1C-arm-none-symbianelf-i686-pc-linux-gnu.tar.bz2</a> (11MB): CodeSourcery’s ARM toolchain for Symbian</li>
<li><a href="http://www.martin.st/symbian/gnupoc-package-1.15.tar.gz">gnupoc-package-1.15.tar.gz</a> (6.2MB): tools and patches to run Symbian SDK on Linux</li>
<li><a href="http://franciscoalecrim.com/lizardo/gnupoc_1.15_S60_5.0_installer_v1.sh">gnupoc_1.15_S60_5.0_installer_v1.sh</a>: Unofficial GnuPoc installer (currently supports only 5.0 SDK)</li>
<li><a href="http://franciscoalecrim.com/lizardo/qt_for_symbian_4.6.1_linux_installer_v2.sh">qt_for_symbian_4.6.1_linux_installer_v2.sh</a>: Unofficial Qt 4.6.1 for Symbian installer for Linux</li>
</ul>
<p>For building the native tools from gnupoc, you will need:</p>
<ul>
<li>the GCC C/C++ compilers</li>
<li>development files for zlib</li>
<li>development files for openssl</li>
</ul>
<p>On Ubuntu, you can install these using the following command:</p>
<p><code>sudo apt-get install build-essential zlib1g-dev libssl-dev</code></p>
<h1>Installation</h1>
<p>First, install GnuPoc + S60 5.0 SDK + the Open C/C++ plugin:</p>
<p><code>./gnupoc_1.15_S60_5.0_installer_v1.sh \<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;download-dir&gt; \<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;gnupoc-dir&gt;</code></p>
<p>Replace &lt;download-dir&gt; with the location of all files downloaded in previous section (e.g. &#8220;~/downloads&#8221;), and &lt;gnupoc-dir&gt; with the destination directory for GnuPoc and the SDK files (e.g. &#8220;~/gnupoc&#8221;). Note that both directories must have absolute paths.</p>
<p>If installation was successful, you should see an output like:</p>
<p><code>Installation has finished. Before using the GnuPoc SDK, run these commands on the console:<br />
&nbsp;<br />
export PATH=&lt;gnupoc-dir&gt;/bin:$PATH<br />
export EPOCROOT=&lt;gnupoc-dir&gt;/symbian-sdks/5.0/ # trailing "/" is required!<br />
&nbsp;<br />
(These commands must be run again every time a new console is opened.)</code></p>
<p>Run the commands as instructed on the message. Next, install Qt for Symbian:</p>
<p><code>./qt_for_symbian_4.6.1_linux_installer_v2.sh \<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;download-dir&gt; \<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;qt-s60-dir&gt;</code></p>
<p>Replace &lt;download-dir&gt; with the location of all files downloaded in previous section (e.g. &#8220;~/downloads&#8221;), and &lt;qt-s60-dir&gt; with the destination directory for the Qt files (e.g. &#8220;~/gnupoc/qt-4.6.1&#8243;). Note that both directories must have absolute paths.</p>
<p>If installation was successful, you should see an output like:<br />
<code>Installation has finished. Before using the Qt for Symbian SDK, run this command on the console:<br />
&nbsp;<br />
export PATH=&lt;qt-s60-dir&gt;/bin:$PATH<br />
&nbsp;<br />
(This command must be run again every time a new console is opened.)</code></p>
<p>Before using Qt for Symbian, you should run the command as instructed on the message above.</p>
<h1>Usage example</h1>
<p>To test the installation, I will describe how to build the &#8220;colliding mice&#8221; example.</p>
<ol>
<li>cd into the example source:</li>
<p>	<code>cd &lt;qt-s60-dir&gt;/examples/graphicsview/collidingmice/</code></p>
<li>Open collidingmice.pro and replace these two lines:</li>
<p>	<code>&nbsp;&nbsp;&nbsp;&nbsp;TARGET.UID3 = 0xA000A643<br />
&nbsp;&nbsp;&nbsp;&nbsp;include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)</code><br />
with:<br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;TARGET.UID3 = 0xE000A643</code><br />
In other words: replace the UID3 &#8220;0xA000A643&#8243; with &#8220;0xE000A643&#8243; and remove (or comment out) the &#8220;include(&#8230;)&#8221; line. This will allow to sign the built SIS file using a self-signed certificate, otherwise you would need a R&amp;D certificate.</p>
<li>Now build the example and generate the SIS file</li>
<p>	<code>qmake<br />
make debug-gcce<br />
make sis</code>
</ol>
<p>A few notes:</p>
<ul>
<li>Only the &#8220;debug-gcce&#8221; (if you are using the GCCE toolchain AKA &#8220;CodeSourcery toolchain&#8221;) or &#8220;debug-armv5&#8243; (if you are using RVCT) will work, because the 4.6.1 release only ships debug versions of the libraries</li>
<li>Make sure you do similar changes as described above if you want to try compiling other Qt examples. Otherwise, you will receive errors like &#8220;Unable to install&#8221; while trying to install the SIS file on the phone.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lizardo.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lizardo.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lizardo.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lizardo.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lizardo.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lizardo.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lizardo.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lizardo.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lizardo.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lizardo.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lizardo.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lizardo.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lizardo.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lizardo.wordpress.com/179/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=179&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lizardo.wordpress.com/2010/01/21/installing-qt-for-symbian-sdk-4-6-1-on-linux/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bad296baf84de6e80b49eacfc1fef64a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">lizardo</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Qt for Symbian on Linux</title>
		<link>http://lizardo.wordpress.com/2009/09/24/installing-qt-for-s60-daily-snapshots-on-linux/</link>
		<comments>http://lizardo.wordpress.com/2009/09/24/installing-qt-for-s60-daily-snapshots-on-linux/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 14:24:19 +0000</pubDate>
		<dc:creator>lizardo</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[S60]]></category>
		<category><![CDATA[symbian]]></category>

		<guid isPermaLink="false">http://lizardo.wordpress.com/?p=138</guid>
		<description><![CDATA[*** These instructions have been superseded by the GnuPoc and Qt for Symbian unofficial installers, described in this post*** &#160; Update (2009-09-24): Add workaround for GCCE issue. Update (2009-10-05): Update gnupoc patch to apply against 20091005 snapshot. Remove workarounds from &#8220;Known Issues&#8221; sections that are already integrated into new patch. Update (2009-10-07): Add instruction for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=138&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><b>*** These instructions have been superseded by the GnuPoc and Qt for Symbian unofficial installers, described in <a href="http://lizardo.wordpress.com/2010/01/21/installing-qt-for-symbian-sdk-4-6-1-on-linux/">this post</a>***</b></p>
<p>&nbsp;</p>
<p><b>Update (2009-09-24):</b> Add workaround for GCCE issue.<br />
<b>Update (2009-10-05):</b> Update gnupoc patch to apply against 20091005 snapshot. Remove workarounds from &#8220;Known Issues&#8221; sections that are already integrated into new patch.<br />
<b>Update (2009-10-07):</b> Add instruction for installing gnupoc build dependencies.<br />
<b>Update (2009-10-23):</b> New patch version (v9), that now applies cleanly to latest snapshots.<br />
<b>Update (2009-11-17):</b> New patch version (v10), now applies against the 4.6.0 RC1 release.</p>
<p>In a <a href="http://lizardo.wordpress.com/2009/07/29/running-qt-for-s60-sdk-on-linux/">previous post</a>, I provided instructions on running Qt for Symbian (the &#8220;Tower&#8221; release) on Linux. However, for those who want to play with the bleeding edge Qt for Symbian development, you might want to try out the latest 4.6 development code from Qt GIT. I put <a href="http://lizardo.wordpress.com/2009/09/05/compiling-qt-for-s60-from-git-on-linux/">some instructions</a> for compiling Qt for Symbian from GIT on Linux as well, but unfortunately it requires the RVCT compiler to build.</p>
<p>Fortunately, today espenr <a href="http://labs.trolltech.com/blogs/2009/09/24/daily-binaries-of-qt-for-symbians60-available/">announced daily snapshots</a>, that will allow those who don&#8217;t have access to RVCT to try out the latest 4.6 development as well <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . So how to get this thing running on Linux? The snapshots so far consist only of the Windows installer and a .zip containing the source code.</p>
<p>By &#8220;merging&#8221; information from my two previous posts, I will describe below how to install the Qt for Symbian daily snapshots on Linux. <b>Even if you have a previous installation of the Symbian SDK, you will need to follow the full instructions again</b> (sorry), as these instructions contain a bunch of bug fixes to the Symbian SDK. Hopefully this requirement will go away at some point, when all Symbian SDK portability issues are addressed.</p>
<p>These instructions also work for the just released 4.6.0 RC1.</p>
<p>These instructions were tested only in the following environment:</p>
<ul>
<li>Host: x86 32-bits (running Ubuntu 8.10)</li>
<li>Device and SDK: S60 5.0 (N97 and 5800)</li>
</ul>
<h1>Preparation</h1>
<p>Download all required files:</p>
<ul>
<li><a href="http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/Platforms/S60_Platform_SDKs/">S60_5th_Edition_SDK_v1_0_en.zip</a> (623MB): S60 Platform SDK for Symbian OS, for C++</li>
<li><a href="http://www.forum.nokia.com/Technology_Topics/Development_Platforms/Open_C_and_C++/">s60_open_c_cpp_plug_in_v1_6_en.zip</a> (35MB): Open C/C++ Plugin</li>
<li><a href="http://pepper.troll.no/s60prereleases/snapshots/">qt-symbian-opensource-4.6.0-snapshot-YYYYMMDD.exe</a> or <a href="http://get.qt.nokia.com/qt/source/qt-symbian-opensource-4.6.0-rc1.exe">qt-symbian-opensource-4.6.0-rc1.exe</a>: Qt for Symbian latest daily snapshot (you need only the .exe for running the SDK). Last tested version: 4.6.0 RC1</li>
<li><a href="http://www.codesourcery.com/sgpp/lite/arm/releases/2005Q1C">gnu-csl-arm-2005Q1C-arm-none-symbianelf-i686-pc-linux-gnu.tar.bz2</a> (11MB): CodeSourcery&#8217;s ARM toolchain for Symbian</li>
<li><a href="http://www.martin.st/symbian/gnupoc-package-1.13.tar.gz">gnupoc-package-1.13.tar.gz</a> (6.2MB): scripts and patches to run Symbian SDK on Linux</li>
<li><a href="http://franciscoalecrim.com/lizardo/qt_s60_gnupoc_v10.patch">qt_s60_gnupoc_v10.patch</a>: patch for gnupoc, adding support for Qt for Symbian installation and various bug fixes</li>
</ul>
<p>(many thanks to <a href="http://franciscoalecrim.com/">Francisco Keppler</a> for hosting this last file on his web site!)</p>
<p>For building the native tools from gnupoc, you will need:</p>
<ul>
<li>the GCC C/C++ compilers</li>
<li>development files for zlib</li>
<li>development files for openssl</li>
</ul>
<p>On Ubuntu, you can install these using the following command:</p>
<p><code>sudo apt-get install build-essential zlib1g-dev libssl-dev</code></p>
<h1>Installation</h1>
<ol>
<li>First, set some environment variables to be used on the following steps (feel free to modify them to install the SDK on some other location). <strong>NOTE: these variables are not necessary after installation.</strong></li>
<p><code># root directory where all SDK files will be installed<br />
GNUPOC_ROOT=$HOME/gnupoc<br />
&nbsp;<br />
# toolchain directory<br />
TOOLCHAIN_DIR=$GNUPOC_ROOT/csl_gcc<br />
&nbsp;<br />
# Symbian SDK directory<br />
S60_SDK_DIR=$GNUPOC_ROOT/symbian-sdks/5.0<br />
&nbsp;<br />
# Qt SDK directory<br />
QT_S60_DIR=$GNUPOC_ROOT/qt_s60<br />
&nbsp;<br />
# wrapper directory (used by gnupoc)<br />
WRAPPER_DIR=$GNUPOC_ROOT/bin<br />
&nbsp;<br />
# where all downloaded files are located<br />
SRC_DIR=$HOME/downloads<br />
</code></p>
<li>Install ARM toolchain:</li>
<p><code>mkdir -p $TOOLCHAIN_DIR<br />
tar -C $TOOLCHAIN_DIR -xvjf \<br />
&nbsp;&nbsp;$SRC_DIR/gnu-csl-arm-2005Q1C-arm-none-symbianelf-i686-pc-linux-gnu.tar.bz2</code></p>
<li>Unpack gnupoc sources and apply the patch that adds Qt for Symbian support:</li>
<p><code>tar -xvzf $SRC_DIR/gnupoc-package-1.13.tar.gz<br />
cd gnupoc-package-1.13<br />
patch -p1 -i $SRC_DIR/qt_s60_gnupoc_v10.patch</code></p>
<li>Install Symbian SDK:</li>
<p><code>cd sdks<br />
./install_gnupoc_s60_50 \<br />
&nbsp;&nbsp;$SRC_DIR/S60_5th_Edition_SDK_v1_0_en.zip \<br />
&nbsp;&nbsp;$S60_SDK_DIR</code></p>
<li>Install gnupoc wrappers and native tools:</li>
<p><code>./install_wrapper $WRAPPER_DIR<br />
cd ../tools<br />
./install_eka2_tools $TOOLCHAIN_DIR<br />
# adjust EKA2TOOLS variable to point to correct location<br />
sed -i "s,EKA2TOOLS=.*,EKA2TOOLS=$TOOLCHAIN_DIR/bin," \<br />
&nbsp;&nbsp;$WRAPPER_DIR/gnupoc-common.sh</code></p>
<li>Create a &#8220;gnupoc_env.sh&#8221; script to be used for gnupoc environment setup, by running this command:</li>
<p><code>cat &gt; $GNUPOC_ROOT/gnupoc_env.sh &lt;&lt; EOF<br />
export PATH=$WRAPPER_DIR:\$PATH<br />
export EPOCROOT=$S60_SDK_DIR/ # trailing "/" is required!<br />
EOF<br />
</code><br />
(Note: the &#8220;cat &lt;&lt; EOF &#8230; EOF&#8221; snippet above will generate a &#8220;gnupoc_env.sh&#8221; file in $GNUPOC_ROOT.)</p>
<li>Initialize the Symbian SDK environment (you will need to do this every time you close the current shell session):</li>
<p><code>. $GNUPOC_ROOT/gnupoc_env.sh</code></p>
<li>Install OpenC:</li>
<p><code>cd ../sdks<br />
chmod +x install_openc_16_s60<br />
./install_openc_16_s60 \<br />
&nbsp;&nbsp;$SRC_DIR/s60_open_c_cpp_plug_in_v1_6_en.zip \<br />
&nbsp;&nbsp;$S60_SDK_DIR</code></p>
<li>Install Qt for Symbian (it will take some time because some tools need to be compiled for Linux):</li>
<p><code>chmod +x install_qt_s60<br />
./install_qt_s60 \<br />
&nbsp;&nbsp;$SRC_DIR/qt-symbian-opensource-&lt;version&gt;.exe \<br />
&nbsp;&nbsp;$S60_SDK_DIR \<br />
&nbsp;&nbsp;$QT_S60_DIR</code></p>
<p>If installation went well, you should see the following:<br />
<code><!-- NOTCODE -->...<br />
Qt is now configured for building. To start the build run:make debug-winscw|debug-armv5|release-armv5.<br />
To reconfigure, run 'make confclean' and configure.</code></p>
<p>Of course, you do not want to build Qt, so just ignore it and proceed with the next step.</p>
<li>Create a &#8220;qt_s60_env.sh&#8221; script to be used to setup Qt for Symbian environment, by running this command:</li>
<p><code>cat &gt; $GNUPOC_ROOT/qt_s60_env.sh &lt;&lt; EOF<br />
export PATH=$QT_S60_DIR/bin:\$PATH<br />
export QMAKESPEC=symbian-abld<br />
EOF<br />
</code><br />
(Note: the &#8220;cat &lt;&lt; EOF &#8230; EOF&#8221; snippet above will generate a &#8220;qt_s60_env.sh&#8221; file in $GNUPOC_ROOT.)</p>
<li>Initialize the Qt for Symbian environment (you will need to do this every time you close the current shell session):</li>
<p><code>. $GNUPOC_ROOT/qt_s60_env.sh</code></p>
<li>Install the following SIS files on your device:</li>
<ul>
<li>$EPOCROOT/nokia_plugin/openc/s60opencsis/pips_s60_1_6_ss.sis</li>
<li>$EPOCROOT/nokia_plugin/openc/s60opencsis/openc_ssl_s60_1_6_ss.sis</li>
<li>$EPOCROOT/nokia_plugin/opencpp/s60opencppsis/stdcpp_s60_1_6_ss.sis</li>
<li>$QT_S60_DIR/qt_selfsigned.sis</li>
</ul>
<li>Unset all temporary variables we used earlier:</li>
<p><code>unset GNUPOC_ROOT TOOLCHAIN_DIR S60_SDK_DIR \<br />
&nbsp;&nbsp;QT_S60_DIR WRAPPER_DIR SRC_DIR</code></p>
</ol>
<h1>Usage</h1>
<p>You need to setup the environment, so tools like qmake, bldmake, abld, makesis etc. are found (not necessary if you just did the installation, unless you closed the shell session):</p>
<p><code><!-- NOTCODE -->. /path/to/gnupoc_env.sh<br />
. /path/to/qt_s60_env.sh</code></p>
<p>Note the &#8220;.&#8221; (dot) before the gnupoc_env.sh. It says that the contents of the gnupoc_env.sh file will be run in the current shell session, as if you typed them by hand.</p>
<p>To actually build some Qt code, use these commands:</p>
<p><code><!-- NOTCODE -->cd path/to/source<br />
qmake # assuming the code already has a .pro file<br />
make debug-gcce # or make debug-armv5 (if using RVCT)<br />
make sis # to generate .sis file<br />
</code></p>
<p>And to clean the source:</p>
<p><code><!-- NOTCODE -->make distclean</code></p>
<p>Notes:</p>
<ul>
<li>Be sure to use qmake from Qt for Symbian. Otherwise the generated Makefiles will be for your host system</li>
<li>The trailing slash on the EPOCROOT variable is important (this is assumed in many places on Symbian SDK scripts)</li>
</ul>
<h1>Known Issues</h1>
<ul>
<li>The snapshots contain only the the &#8220;debug&#8221; libraries. Therefore, only the debug targets will work, i.e. use only &#8220;make debug-gcce&#8221; (if using GCCE compiler) or &#8220;make debug-armv5&#8243; (if using RVCT)</li>
</ul>
<p>See also the more general <a href="http://labs.trolltech.com/page/QtforS60KnownIssues">known issues related to Qt for Symbian</a>.</p>
<h1>Ideas for improvements and TODO items</h1>
<ul>
<li>Add Symbian support to Qt configure script, eliminating the need to compile configure.bin</li>
<li>Create a nice GUI installer for Linux</li>
<li>Allow to easily upgrade Qt for Symbian SDK installation, without requiring to reinstall the entire Symbian SDK</li>
<li>Itegration with Qt Creator, KDevelop or some other IDE</li>
</ul>
<p>Feel free to contribute with your ideas or even better, help implementing them <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lizardo.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lizardo.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lizardo.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lizardo.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lizardo.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lizardo.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lizardo.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lizardo.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lizardo.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lizardo.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lizardo.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lizardo.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lizardo.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lizardo.wordpress.com/138/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lizardo.wordpress.com&amp;blog=166274&amp;post=138&amp;subd=lizardo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lizardo.wordpress.com/2009/09/24/installing-qt-for-s60-daily-snapshots-on-linux/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bad296baf84de6e80b49eacfc1fef64a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">lizardo</media:title>
		</media:content>
	</item>
	</channel>
</rss>
