0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-27 18:08:10 +03:00
LimeReport/designer/designer.pro

67 lines
1.3 KiB
Prolog
Raw Normal View History

include(../common.pri)
QT += core gui
2021-08-18 20:14:37 +03:00
CONFIG(release) {
TARGET = LRDesigner
} else {
2021-08-18 20:14:37 +03:00
TARGET = LRDesignerd
}
2021-08-18 20:14:37 +03:00
TEMPLATE = app
2018-05-24 14:31:10 +03:00
HEADERS += \
2021-08-18 20:14:37 +03:00
designersettingmanager.h
2018-05-24 14:31:10 +03:00
SOURCES += main.cpp \
2021-08-18 20:14:37 +03:00
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
2019-05-26 20:57:06 +03:00
RESOURCES += $$PWD/../3rdparty/light_style_sheet/qlightstyle/lightstyle.qrc
2017-12-11 16:48:00 +03:00
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
2018-12-11 02:34:27 +03:00
}
LIBS += -L$${DEST_LIBS}
CONFIG(debug, debug|release) {
2021-08-18 20:14:37 +03:00
LIBS += -llimereportd
2018-12-11 02:34:27 +03:00
} else {
2021-08-18 20:14:37 +03:00
LIBS += -llimereport
2018-12-11 02:34:27 +03:00
}
2021-08-18 20:14:37 +03:00
!CONFIG(static_build) : CONFIG(zint) {
CONFIG(debug, debug|release) {
LIBS += -L$${DEST_LIBS} -lQtZintd
} else {
LIBS += -L$${DEST_LIBS} -lQtZint
}
}