0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-27 01:48:09 +03:00
LimeReport/designer/designer.pro
2019-05-26 20:57:06 +03:00

68 lines
1.3 KiB
Prolog

include(../common.pri)
QT += core gui
contains(CONFIG,release) {
TARGET = LRDesigner
} else {
TARGET = LRDesignerd
}
TEMPLATE = app
HEADERS += \
designersettingmanager.h
SOURCES += main.cpp \
designersettingmanager.cpp
INCLUDEPATH += $$PWD/../include
DEPENDPATH += $$PWD/../include
RESOURCES += $$PWD/../3rdparty/dark_style_sheet/qdarkstyle/style.qrc
RESOURCES += $$PWD/../3rdparty/light_style_sheet/qlightstyle/lightstyle.qrc
DEST_DIR = $${DEST_BINS}
REPORTS_DIR = $${DEST_DIR}
macx{
CONFIG += app_bundle
}
unix:{
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
}
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
}
}
}