PDA

View Full Version : CONFIG(release) scope problem



jonks
6th March 2010, 17:30
Hi,

I've added this snippet to my project's .pro file.
Now when I build in Qt Creator, the compile output always displays "Building with release support." no matter if I'm building release or debug.
I've checked my project settings in Qt Creator. Only the release build specifies "CONFIG+=release"

Does anyone know what I'm doing wrong?



CONFIG(release) {
message(Building with release support.)
LIBS += -lColorPicker-2.6
} else {
message(Building with debug support.)
LIBS += -lColorPicker-2.6d
}