PDA

View Full Version : Building in Qt Debug and Release Mode



iamDAMON
15th October 2012, 13:42
Hi Guys,

I'm experiencing this kind of problem.

When I build in Release Mode, Qt generates objects, dll, etc. in Debug mode and sometimes vice versa.
Can someone explain to me why this happens.

I am using mingw. and here's the the code in pro:

TEMPLATE = app

CONFIG (debug, debug | release){
TARGET = SAMPDEBUG
}
CONFIG (release, debug | release){
TARGET = SAMPRELEASE
}


here's the config in build steps:
In debug, CONFIG += declarative_debug
In release, CONFIG += release


Thanks in advance guys.