From 7e78790123ececac3d941d1f42e55a661d72fbf1 Mon Sep 17 00:00:00 2001 From: Arin Alex Date: Tue, 22 Mar 2016 23:12:25 +0300 Subject: [PATCH] Fix build demo on Linux --- demo_r1/demo_r1.pro | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/demo_r1/demo_r1.pro b/demo_r1/demo_r1.pro index 35411aa..cd2029d 100644 --- a/demo_r1/demo_r1.pro +++ b/demo_r1/demo_r1.pro @@ -1,4 +1,6 @@ -QT += core gui script sql +include(../common.pri) +QT += core gui + greaterThan(QT_MAJOR_VERSION, 4){ QT += widgets printsupport DEFINES += HAVE_QT5 @@ -42,6 +44,9 @@ unix{ RCC_DIR = $${OUT_PWD}//rcc LIBS += -L$$PWD/../build/unix/$${BUILD_TYPE}/lib -llimereport +contains(CONFIG,zint){ + LIBS += -L$$PWD/../build/unix/$${BUILD_TYPE}/lib -lQtZint +} DESTDIR = $$DEST_DIR QMAKE_POST_LINK += mkdir -p $$quote($$REPORTS_DIR) | $$QMAKE_COPY_DIR $$quote($$EXTRA_DIR) $$quote($$REPORTS_DIR) $$escape_expand(\n\t) QMAKE_LFLAGS += -Wl,--rpath=\\\$\$ORIGIN