From 6f55d8cb8ac54b1735577de78be87ecd0845e956 Mon Sep 17 00:00:00 2001 From: Roland Rossgotterer Date: Tue, 28 Jan 2020 10:06:31 +0100 Subject: [PATCH] MinGW no longer uses the debug suffix. MSVC is the only one > Qt 5.14 --- mkspecs/features/common_pre.prf | 2 +- src/blackgui/blackgui.pro | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/mkspecs/features/common_pre.prf b/mkspecs/features/common_pre.prf index 9eb441d0c..75a62dc80 100644 --- a/mkspecs/features/common_pre.prf +++ b/mkspecs/features/common_pre.prf @@ -176,7 +176,7 @@ isEmpty(PREFIX) { # Debug Suffix ################################ -win32: CONFIG(debug, debug|release): DLL_DEBUG_SUFFIX = d +msvc: CONFIG(debug, debug|release): DLL_DEBUG_SUFFIX = d ################################ # Inter-project dependencies diff --git a/src/blackgui/blackgui.pro b/src/blackgui/blackgui.pro index f723530ce..43ee47b90 100644 --- a/src/blackgui/blackgui.pro +++ b/src/blackgui/blackgui.pro @@ -68,8 +68,12 @@ win32 { } win32 { - CONFIG(debug, debug|release): LIBS *= -lqwtd - CONFIG(release, debug|release): LIBS *= -lqwt + msvc { + CONFIG(debug, debug|release): LIBS *= -lqwtd + CONFIG(release, debug|release): LIBS *= -lqwt + } else { + LIBS *= -lqwt + } } else:macx { macx: LIBS *= -framework qwt