I need to specify different output and intermediate folders in my .pro file for debug and release builds. I created a following test .pro file:
release {
message( "release" )
}
debug {
message( "debug" )
}
But compiling this .pro file in Qt Creator with “debug” build leads to following output:
Project MESSAGE: release
Project MESSAGE: debug
It seems that both “debug” and “release” conditions are set to True
O_O. Is it possible to somehow handle debug and release builds separately in qmake?