A more elegant way to do what exactly?
A more elegant way to do what exactly?
Set CONFIG to 'debug' or 'release' from the Creator IDE, without having to modify the .pro file.
How did the pro file look like initially? I really have no problems in modifying CONFIG when invoking qmake![]()
The Release mode enables optimizations and generates without any debug data, so it is fully optimized. . Lots of your code could be completely removed or rewritten in Release mode. The resulting executable will most likely not match up with your written code. Because of this release mode will run faster than debug mode due to the optimizations. More about.....Debug and Release build
Walsh
Bookmarks