views:

60

answers:

1

http://doc.trolltech.com/4.6/qmake-advanced-usage.html#platform-scope-values

On Nokia's QMake documentation it notes that there are at least 3 platform scope values: win32, macx and unix. The documentation states:

In addition to the win32, macx, and unix values used in many scope conditions, various other built-in platform and compiler-specific values can be tested with scopes.

However, I can't find a list of them anywhere; does anyone know where this information can be found. Also, "win" and "mac" seem to work in place of win32 and macx... aliases?

+1  A: 

The list can be found in the mkspecs directory in the Qt sources. Well, it's not really a list but each subdirectory specifies one scope name.

Job
Yes, I knew about that, but that only specifies platform and compiler combinations... it doesn't explain why win, win32, mac, macx and possibly others work by themselves... that's why I need the list.
Jake Petroules
@Jake: If you look in the actual files in the mkspecs directory, you can see how they are configuring qmake. Anything that file adds to the CONFIG variable can be used in scope conditions.
Caleb Huitt - cjhuitt