![]() |
2010-06-02
, 20:12
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#2
|
#if defined(Q_WS_MAEMO_5) // stuff... #endif
#if defined(Q_WS_HILDON) // stuff... #endif
The Following 2 Users Say Thank You to Venemo For This Useful Post: | ||
![]() |
2010-06-02
, 20:20
|
Posts: 385 |
Thanked: 426 times |
Joined on Dec 2009
@ Gothenburg, Sweden
|
#3
|
maemo5: { # maemo5-specific configuration added here in .pro file }
The Following 2 Users Say Thank You to Larswad For This Useful Post: | ||
![]() |
2010-06-02
, 20:26
|
Posts: 60 |
Thanked: 23 times |
Joined on Jan 2010
|
#4
|
![]() |
2010-06-03
, 00:28
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#5
|
exists(/opt/qt4-maemo5/include/QtMaemo5/QtMaemo5) {
DEFINES += maemo5
QT += maemo5 \
dbus
message(maemo5 found)
}
and then did a ifdef maemo5 in my code..
What should I do now?
Using QtCreator 1.3.83 and doing build and debug all in qtcreator/device.
How can i detect when maemo5 is availible for build?
Also, this is a problem:
exists(\usr\lib\liblocation.so) {
DEFINES += LIBLOCATION
message(liblocation found)
}
how can i detect liblocation correctly? Can I use liblocation with the emulator?
Last edited by tmsha; 2010-06-02 at 20:09.