In our project we specify compilation mode (debug/release) in the project file. This works fine when compiling from command line, but when compiling in Qt Creator I would like to use debug and release as configured in Qt Creator. Is there any way to detect if the project is parsed from Qt Creator?
Or is there another way to tackle this problem? We want to avoid having to provide arguments to qmake (i.e. ‘qmake CONFIG+=debug’).
↧