Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[resolved] Debug or release or debug or release?
Something I don't quite get. In my project file, I can have
@CONFIG += release@
@CONFIG += debug@
But then, in Qt-Creator, each new project comes with a "debug" or "release" targets. Is the definition in the ".Pro" file a master switch? what happens if I choose "config += debug" in the .pro file, but choose a "debug" output in the Qt-Creator gui?
I'm not sure about build conf, but in terms of OBJECTS_DIR and DEST_DIR, .pro definition is superior to settings specified in .pro.user.
andre last edited by
For the build config, the setting in the .pro file overrules the one in set on the command line (that is what the QtCreator setting does; it modifies the commandline for QMake).
So If I remove the "CONFIG += debug" (or release) from the .pro file, it would just build for the target I specify in the Qt-Creator GUI?
[quote author="ronM71" date="1313592168"]So If I remove the "CONFIG += debug" (or release) from the .pro file, it would just build for the target I specify in the Qt-Creator GUI?[/quote]
If that's it, please add [Solved] to thread's subject :)