<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.7.6(BH)" -->
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Planet Maemo: category &quot;feed:72b1fb57bb8964a8251594e25932bb34&quot;</title>
        <description>Blog entries from Maemo community</description>
        <link>http://maemo.org/news/planet-maemo/</link>
        <lastBuildDate>Sun, 24 May 2026 10:09:28 +0000</lastBuildDate>
        <generator>FeedCreator 1.7.6(BH)</generator>
        <language>en</language>
        <managingEditor>planet@maemo.org</managingEditor>
        <item>
            <title>Running PySide applications on Qt Simulator</title>
            <link>https://lizardo.wordpress.com/2010/08/26/running-pyside-applications-on-qt-simulator/</link>
            <description><![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="https://i0.wp.com/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>
<span class="net_nemein_favourites">10 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=5b6268ceb12311df87b16bc0639f79517951&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/5b6268ceb12311df87b16bc0639f79517951/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=5b6268ceb12311df87b16bc0639f79517951&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/5b6268ceb12311df87b16bc0639f79517951/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Anderson Lizardo &lt;anderson.lizardo@openbossa.org&gt;</author>
            <category>feed:72b1fb57bb8964a8251594e25932bb34</category>
            <pubDate>Thu, 26 Aug 2010 14:20:41 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-5b6268ceb12311df87b16bc0639f79517951</guid>
        </item>
        <item>
            <title>Python bindings for Qt Mobility APIs now available</title>
            <link>https://lizardo.wordpress.com/2010/08/19/python-bindings-for-qt-mobility-apis-now-available/</link>
            <description><![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>
<span class="net_nemein_favourites">12 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=c089242eab8611df99d0712d56519c429c42&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/c089242eab8611df99d0712d56519c429c42/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=c089242eab8611df99d0712d56519c429c42&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/c089242eab8611df99d0712d56519c429c42/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Anderson Lizardo &lt;anderson.lizardo@openbossa.org&gt;</author>
            <category>feed:72b1fb57bb8964a8251594e25932bb34</category>
            <pubDate>Thu, 19 Aug 2010 11:03:47 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-c089242eab8611df99d0712d56519c429c42</guid>
        </item>
        <item>
            <title>PySide for Maemo 5 rebuilt for Qt 4.6.2 final release</title>
            <link>https://lizardo.wordpress.com/2010/02/19/pyside-for-maemo-5-rebuilt-for-qt-4-6-2-final-release/</link>
            <description><![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>
<span class="net_nemein_favourites">10 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=be6100101d5e11dfb4a20f5ab33869066906&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/be6100101d5e11dfb4a20f5ab33869066906/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=be6100101d5e11dfb4a20f5ab33869066906&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/be6100101d5e11dfb4a20f5ab33869066906/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Anderson Lizardo &lt;anderson.lizardo@openbossa.org&gt;</author>
            <category>feed:72b1fb57bb8964a8251594e25932bb34</category>
            <pubDate>Fri, 19 Feb 2010 13:53:13 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-be6100101d5e11dfb4a20f5ab33869066906</guid>
        </item>
        <item>
            <title>Python tutorial: Accessing APIs without Python bindings</title>
            <link>https://lizardo.wordpress.com/2010/02/02/python-tutorial-accessing-apis-without-python-bindings/</link>
            <description><![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="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="<span class="net_nemein_favourites">1 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=3cf7413c14d111df90e3a5c055d11cc01cc0&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/3cf7413c14d111df90e3a5c055d11cc01cc0/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=3cf7413c14d111df90e3a5c055d11cc01cc0&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/3cf7413c14d111df90e3a5c055d11cc01cc0/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Anderson Lizardo &lt;anderson.lizardo@openbossa.org&gt;</author>
            <category>feed:72b1fb57bb8964a8251594e25932bb34</category>
            <pubDate>Tue, 02 Feb 2010 13:43:21 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-3cf7413c14d111df90e3a5c055d11cc01cc0</guid>
        </item>
    </channel>
</rss>
