From e4c8ec366b04697436111a6be9912188fd6b9d29 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Tue, 11 Dec 2018 02:34:27 +0300 Subject: [PATCH] Designer building has been fixed --- designer/designer.pro | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/designer/designer.pro b/designer/designer.pro index d3b9e26..844b299 100644 --- a/designer/designer.pro +++ b/designer/designer.pro @@ -27,12 +27,6 @@ macx{ } unix:{ - LIBS += -L$${DEST_LIBS} -llimereport - !contains(CONFIG, static_build){ - contains(CONFIG,zint){ - LIBS += -L$${DEST_LIBS} -lQtZint - } - } DESTDIR = $$DEST_DIR linux{ #Link share lib to ../lib rpath @@ -52,18 +46,21 @@ win32 { DESTDIR = $$DEST_DIR RC_FILE += mainicon.rc - !contains(CONFIG, static_build){ - contains(CONFIG,zint){ +} + +LIBS += -L$${DEST_LIBS} +CONFIG(debug, debug|release) { + LIBS += -llimereportd +} else { + LIBS += -llimereport +} + +!contains(CONFIG, static_build){ + contains(CONFIG,zint){ + CONFIG(debug, debug|release) { + LIBS += -L$${DEST_LIBS} -lQtZintd + } else { LIBS += -L$${DEST_LIBS} -lQtZint } } - LIBS += -L$${DEST_LIBS} - contains(CONFIG,release) { - LIBS += -llimereport - } else { - LIBS += -llimereportd - } } - - -