Does anyone know how to get a definitive list of the Qt preprocessord defnes and what they are for/ when they should be used?
For example QT_DLL, QT_SHARED, QT_CORE_LIB, etc.
For example, QT_NETWORK_LIB should only be defined when using -lQtNetwork, QT_DLL should only be defined when using Qt DLLs on Windows, etc.
These are all automatically inserted by qmake, but if I am using a build system other than qmake, I need to know them.
I have tried looking through the makespecs directory and grepping the sources, but it is not clear to me exactly what the rules are for setting these flags.
I couldn't find anything clear and definitive on the Trolltech website either.
Bookmarks