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:

Qt Code:
  1. unix {
  2. INCLUDEPATH += ./unix_stuff
  3. }
  4.  
  5. macx {
  6. INCLUDEPATH += ./mac_stuff
  7. }
To copy to clipboard, switch view to plain text mode 

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?