Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Compile and run Qt application for Maemo

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.

Article Metadata
Created: r60600 (22 Mar 2010)
Last edited: lpvalente (13 Apr 2013)

Warning.pngThis article does not meet the wiki quality standards: Please make it more useful by adding links or additional information as discussed in the quality standards. When you have done so you can delete the {{NeedsMoreWork}} template from the article to remove this warning.

Using Creator in Qt SDK for Maemo,developers can design UI and edit engine of an application with its drag-and-drop graphical designer and auto-complete text editor easily.And the Qt project can be compiled and run via command line in real or virtual Linux system.Certainly, the Integrated Development Environment and Qt SDK for Maemo must be also installed correctly.

The way is:

Open a terminal window from Linux desktop.

maemo@maemo-desktop:~$ cp -r /home/maemo/projects/anApplication/


maemo@maemo-desktop:~$ scratchbox




[sbox-REEMANTLE_X86: ~] > cd workspace/anApplication/

[sbox-REEMANTLE_X86: ~/workspace/anApplication/ ] > qmake -project

[sbox-REEMANTLE_X86: ~/workspace/anApplication/ ] > qmake

[sbox-REEMANTLE_X86: ~/workspace/anApplication/ ] > make




[sbox-REEMANTLE_X86: ~/workspace/anApplication/ ] >

And open another terminal window,

maemo@maemo-desktop:~$ Xephyr  :2 -host -cursor -screen 800*480*16 -dpi 96 -ac

then a Xephyr window displayed, and back to first window.

[sbox-REEMANTLE_X86: ~/workspace/anApplication/ ] > export DISPLAY=:2

[sbox-REEMANTLE_X86: ~/workspace/anApplication/ ] > ./anApplication




At last,the application compiled will run in the Xephyr window.

This page was last modified on 13 April 2013, at 21:31.
626 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.