[Qt-interest] qmake question
mario
dodiesis at gmail.com
Wed Jun 10 11:42:17 CEST 2009
Hi all
how can I detect (in the project file) if I am on "linux X11" or
"linux embedded"?
In the code I have this define:
Q_WS_QWS
Defined on Qt for Embedded Linux.
Q_WS_WIN
Defined on Windows.
But I need to so something like this in my .pro file:
unixembedded {
SOURCES += hello_embed.cpp
}
unix {
SOURCES += hello_linux.cpp
}
tnx
Mario
--
Mario Signorino | www.sgrunt.net
More information about the Qt-interest-old
mailing list