From 1e0cb4a39f4ff0c2cc3aa412aa55f63fdb9f84af Mon Sep 17 00:00:00 2001 From: Joern Date: Wed, 30 Dec 2015 15:40:36 +0100 Subject: [PATCH] MSVC - QWT Debug vs. Release ... MSVC does not accept mixed libraries (debug/release) when linking ... patch has been tested with MingGW/GCC as well --- src/src.pro | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/src.pro b/src/src.pro index 824e68189..1a161aa47 100644 --- a/src/src.pro +++ b/src/src.pro @@ -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