Thread
:
How to detect maemo5 in QtCreator
View Single Post
Venemo
2010-06-02 , 20:12
Posts: 1,296 | Thanked: 1,773 times | Joined on Aug 2009 @ Budapest, Hungary
#
2
You are looking for this, perhaps.
This works with Qt 4.6 (PR 1.2):
Code:
#if defined(Q_WS_MAEMO_5) // stuff... #endif
And this one with Qt 4.5 (PR 1.1):
Code:
#if defined(Q_WS_HILDON) // stuff... #endif
You may also want to check out the
Qt 4.6 Maemo 5 examples
.
As for using external libraries, it is pretty straightforward with Scratchbox, but can be very tricky with MADDE sometimes.
See this thread.
About the emulator: I couldn't get it to work at all, so I can't help you with that.
__________________
You should follow me on Twitter!
Apps:
Puzzle Master
,
IRC Chatter for Harmattan
,
IRC for Sailfish
Last edited by Venemo; 2010-06-02 at
20:19
.
Quote & Reply
|
The Following 2 Users Say Thank You to Venemo For This Useful Post:
Creamy Goodness
,
tmsha
Venemo
View Public Profile
Send a private message to Venemo
Visit Venemo's homepage!
Find all posts by Venemo