LimeReport/designer/designer.pro

70 lines
1.3 KiB
Prolog
Raw Normal View History

include(../common.pri)
QT += core gui
contains(CONFIG,release) {
TARGET = LRDesigner
} else {
TARGET = LRDesignerd
}
TEMPLATE = app
2018-05-24 14:31:10 +03:00
HEADERS += \
designersettingmanager.h
SOURCES += main.cpp \
designersettingmanager.cpp
INCLUDEPATH += $$PWD/../include
DEPENDPATH += $$PWD/../include
2017-12-11 16:48:00 +03:00
RESOURCES += $$PWD/../3rdparty/dark_style_sheet/qdarkstyle/style.qrc
DEST_DIR = $${DEST_BINS}
REPORTS_DIR = $${DEST_DIR}
macx{
CONFIG += app_bundle
}
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
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, static_build){
contains(CONFIG,zint){
LIBS += -L$${DEST_LIBS} -lQtZint
}
}
LIBS += -L$${DEST_LIBS}
contains(CONFIG,release) {
LIBS += -llimereport
} else {
LIBS += -llimereportd
}
}
2018-05-24 14:31:10 +03:00