MSVC - QWT Debug vs. Release

... MSVC does not accept mixed libraries (debug/release) when linking
... patch has been tested with MingGW/GCC as well
This commit is contained in:
Joern
2015-12-30 15:40:36 +01:00
parent cc8253489e
commit 1e0cb4a39f

View File

@@ -70,7 +70,12 @@ DEFINES += GC_HAVE_SOAP
# to make sure we are toolchain neutral we NEVER refer to a lib
# via file extensions .lib or .a in src.pro unless the section is
# platform specific. Instead we use directives -Ldir and -llib
CONFIG(release, debug|release){
LIBS += -L../qwt/lib -lqwt
}
CONFIG(debug, debug|release) {
LIBS += -L../qwt/lib -lqwtd
}
# compress and math libs must be defined in gcconfig.pri
# if they're not part of the QT include