Revision as of 12:47, 20 July 2012 by hamishwillee (Talk | contribs)

Compile and run Qt application for Maemo

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Created: r60600 (22 Mar 2010)
Last edited: hamishwillee (20 Jul 2012)

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 anApplication.pro

[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.

36 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.