Qt version: Qt 4.3.0
OS: Linux
I'm trying to separate binaries for debug and release builds. On Linux, qmake does not generate scripts for making debug versions (g++ -g). On Win32 platforms, this works perfectly fine. Am I missing something or is it a qmake bug? Thanks in advance for any workarounds.
-------------------------------------------------------------
------------------------------------------------------------qmake usage:
qmake -makefile test.pro "CONFIG+=build_all"
make
test.pro file:
----------------------------------------------------TEMPLATE = lib
TARGET = test
CONFIG(debug, debug|release)
{
DESTDIR = ../../bin/debug/plugins
OBJECTS_DIR = ../../bin/debug/obj
MOC_DIR = ../../bin/debug/moc
} else
{
DESTDIR = ../../bin/release/plugins
OBJECTS_DIR = ../../bin/release/obj
MOC_DIR = ../../bin/release/moc
}
Bookmarks