0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 00:33:02 +03:00

Fix build demo on Linux

This commit is contained in:
Arin Alex 2016-03-22 23:12:25 +03:00
parent 372c677f6f
commit 7e78790123

View File

@ -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