Andre Poenitz <andre.poen...@mathematik.tu-chemnitz.de> wrote in news:idbpm0$b7...@eple.troll.no:
> That's not the right way to make variable assignments depend on 'debug' > or 'release', see http://doc.qt.nokia.com/4.7/qmake-common-projects.html > > It's something like > > CONFIG(debug, debug|release) { > TARGET = debug_binary > } else { > TARGET = release_binary > } I keep reading the documentation for the CONFIG function and not understanding it. My confusion starts with the two statements: (1) CONFIG variable values: release The project is to be built in release mode. This is ignored if debug is also specified. (2) CONFIG(config) function: As the order of values is important in CONFIG variables (i.e. the last one set will be considered the active config for mutually exclusive values)... So if I say CONFIG = debug release is release ignored or is it the active config? Then there's the | symbol. In this context, is it a separator for strings or a logical or? Assuming CONFIG contains either debug or release, how is CONFIG(debug, debug|release) different from CONFIG(debug)? _______________________________________________ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator