2017-11-24 00:13:47 +03:00
|
|
|
QT += core gui
|
|
|
|
|
2018-06-21 22:18:07 +03:00
|
|
|
include(../common.pri)
|
|
|
|
include(../limereport/limereport.pri)
|
|
|
|
include(../limereport/designer.pri)
|
|
|
|
|
2021-08-18 20:14:37 +03:00
|
|
|
CONFIG(release) {
|
|
|
|
TARGET = designer_plugin
|
2017-11-24 00:13:47 +03:00
|
|
|
} else {
|
2021-08-18 20:14:37 +03:00
|
|
|
TARGET = designer_plugind
|
2017-11-24 00:13:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += plugin
|
|
|
|
|
|
|
|
HEADERS += \
|
2021-08-18 20:14:37 +03:00
|
|
|
lrdesignerplugin.h
|
2017-11-24 00:13:47 +03:00
|
|
|
SOURCES += \
|
2021-08-18 20:14:37 +03:00
|
|
|
lrdesignerplugin.cpp
|
2017-11-24 00:13:47 +03:00
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../include
|
|
|
|
DEPENDPATH += $$PWD/../include
|
|
|
|
|
|
|
|
macx{
|
2021-08-18 20:14:37 +03:00
|
|
|
CONFIG += lib_bundle
|
|
|
|
CONFIG += -dll
|
2017-11-24 00:13:47 +03:00
|
|
|
}
|
|
|
|
|
2021-08-18 20:14:37 +03:00
|
|
|
DESTDIR = $${DEST_LIBS}
|
2017-11-24 00:13:47 +03:00
|
|
|
unix {
|
|
|
|
target.path = $${DESTDIR}
|
|
|
|
INSTALLS = target
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-08-18 20:14:37 +03:00
|
|
|
CONFIG(zint) {
|
2017-11-24 00:13:47 +03:00
|
|
|
message(zint)
|
|
|
|
INCLUDEPATH += $$ZINT_PATH/backend $$ZINT_PATH/backend_qt
|
|
|
|
DEPENDPATH += $$ZINT_PATH/backend $$ZINT_PATH/backend_qt
|
2021-08-18 20:14:37 +03:00
|
|
|
LIBS += -L$${DEST_LIBS}
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
LIBS += -lQtZintd
|
|
|
|
} else {
|
|
|
|
LIBS += -lQtZint
|
|
|
|
}
|
2017-11-24 00:13:47 +03:00
|
|
|
}
|