PyQt4 in Maemo Fremantle
Installation and configuration of Maemo SDK (Nokia mobile OS for N900 and other phones) and PyQt4 libraries.
To run PyQt4 on Maemo - Nokia N900 operating system you need to either use the device or install SDK and Scratchbox on your computer (32-bit Linux best). How to do it can be found on maemo.org. To install the SDK you have to use a GUI installer (if it works, not for me), or two bash scripts that download and install most of the packages.
Maemo SDK and Xephyr installationDownload install scripts from Nokia web page. Run the scratchbox installer:
SDK ConfigurationAs root add you normal user to Scratchbox:
Xephyr X serverXephyr is a light X server which is available with base X.org package or as a separate package. To run Maemo we start a small window - Xephyr server - in which the system will show up. To run Xephyr execute:
Installing Nokia packagesWe need to instal Nokia proprietary packages to use Maemo. Go to Nokia page and agree to their terms. You will get a code snippet with a token to the proprietary repository. Add it to /etc/apt/sources.list and execute:
apt-get update fakeroot apt-get install nokia-binaries nokia-apps
Running Maemo in XephyrLogin to Scratchbox and execute to start the OS in running Xephyr:
export DISPLAY=:2 af-sb-init.sh start
PyQt4 and other extra packages
When you have everything ready - login to Scratchbox and add extras repository if you didn't. Add to /etc/apt/sources.list: