×
Namespaces

Variants
Actions
Revision as of 00:31, 14 April 2013 by lpvalente (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Compile and run Qt application for Maemo

From Nokia Developer 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
Compatibility
Platform(s):
Symbian
Article
Created: r60600 (22 Mar 2010)
Last edited: lpvalente (14 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/

/scratchbox/users/maemo/home/maemo/workspace/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.

This page was last modified on 14 April 2013, at 00:31.
71 page views in the last 30 days.
×