mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-26 05:18:11 +03:00
50 lines
950 B
Prolog
50 lines
950 B
Prolog
|
include(../common.pri)
|
||
|
QT += core gui
|
||
|
|
||
|
TARGET = LRDesigner
|
||
|
TEMPLATE = app
|
||
|
|
||
|
SOURCES += main.cpp
|
||
|
|
||
|
INCLUDEPATH += $$PWD/../include
|
||
|
DEPENDPATH += $$PWD/../include
|
||
|
|
||
|
DEST_DIR = $${DEST_BINS}
|
||
|
REPORTS_DIR = $${DEST_DIR}
|
||
|
|
||
|
macx{
|
||
|
CONFIG += app_bundle
|
||
|
}
|
||
|
|
||
|
unix:{
|
||
|
LIBS += -L$${DEST_LIBS} -llimereport
|
||
|
contains(CONFIG,zint){
|
||
|
LIBS += -L$${DEST_LIBS} -lQtZint
|
||
|
}
|
||
|
DESTDIR = $$DEST_DIR
|
||
|
linux{
|
||
|
#Link share lib to ../lib rpath
|
||
|
QMAKE_LFLAGS += -Wl,--rpath=\\\$\$ORIGIN
|
||
|
QMAKE_LFLAGS += -Wl,--rpath=\\\$\$ORIGIN/lib
|
||
|
QMAKE_LFLAGS += -Wl,--rpath=\\\$\$ORIGIN/../lib
|
||
|
QMAKE_LFLAGS_RPATH += #. .. ./libs
|
||
|
}
|
||
|
target.path = $${DEST_DIR}
|
||
|
INSTALLS = target
|
||
|
}
|
||
|
|
||
|
win32 {
|
||
|
EXTRA_DIR ~= s,/,\\,g
|
||
|
DEST_DIR ~= s,/,\\,g
|
||
|
REPORTS_DIR ~= s,/,\\,g
|
||
|
|
||
|
DESTDIR = $$DEST_DIR
|
||
|
RC_FILE += mainicon.rc
|
||
|
|
||
|
contains(CONFIG,zint){
|
||
|
LIBS += -L$${DEST_LIBS} -lQtZint
|
||
|
}
|
||
|
LIBS += -L$${DEST_LIBS} -llimereport
|
||
|
}
|
||
|
|