will49
8th July 2008, 01:11
I have a .pro project file that I'm using for my Win/Mac/Linux project with Qt 4.3.5.
I have some platform specific definitions such as:
unix {
INCLUDEPATH += ./unix_stuff
}
macx {
INCLUDEPATH += ./mac_stuff
}
The problem I'm having is that on Mac OS, qmake seems to treat "unix" as true and my unix specific definitions are getting included also.
How can I get my project files to include Mac OS only items and not unix?
I have some platform specific definitions such as:
unix {
INCLUDEPATH += ./unix_stuff
}
macx {
INCLUDEPATH += ./mac_stuff
}
The problem I'm having is that on Mac OS, qmake seems to treat "unix" as true and my unix specific definitions are getting included also.
How can I get my project files to include Mac OS only items and not unix?