2016-03-22 15:55:02 +03:00
|
|
|
include(../common.pri)
|
|
|
|
|
2021-08-18 20:14:37 +03:00
|
|
|
contains(CONFIG, embedded_designer) {
|
2018-06-21 22:18:07 +03:00
|
|
|
include(designer.pri)
|
2021-04-14 21:21:38 +03:00
|
|
|
message(embedded designer)
|
2017-11-27 23:14:05 +03:00
|
|
|
}
|
2017-04-07 21:01:51 +03:00
|
|
|
|
2016-03-22 15:55:02 +03:00
|
|
|
DEFINES += INSPECT_BASEDESIGN
|
|
|
|
|
|
|
|
INCLUDEPATH += \
|
|
|
|
$$REPORT_PATH/ \
|
|
|
|
$$REPORT_PATH/items \
|
|
|
|
$$REPORT_PATH/bands \
|
|
|
|
$$REPORT_PATH/base \
|
2017-09-16 16:04:29 +03:00
|
|
|
$$REPORT_PATH/scripteditor
|
2016-03-22 15:55:02 +03:00
|
|
|
|
|
|
|
SOURCES += \
|
2021-12-16 00:13:39 +03:00
|
|
|
$$PWD/scripteditor/lrcompletermodel.cpp \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/bands/lrpageheader.cpp \
|
|
|
|
$$REPORT_PATH/bands/lrpagefooter.cpp \
|
|
|
|
$$REPORT_PATH/bands/lrreportheader.cpp \
|
|
|
|
$$REPORT_PATH/bands/lrreportfooter.cpp \
|
|
|
|
$$REPORT_PATH/bands/lrdataband.cpp \
|
|
|
|
$$REPORT_PATH/bands/lrgroupbands.cpp \
|
|
|
|
$$REPORT_PATH/bands/lrsubdetailband.cpp \
|
2016-10-04 03:21:22 +03:00
|
|
|
$$REPORT_PATH/bands/lrtearoffband.cpp \
|
2017-04-07 21:01:51 +03:00
|
|
|
$$REPORT_PATH/serializators/lrxmlqrectserializator.cpp \
|
|
|
|
$$REPORT_PATH/serializators/lrxmlbasetypesserializators.cpp \
|
|
|
|
$$REPORT_PATH/serializators/lrxmlreader.cpp \
|
|
|
|
$$REPORT_PATH/serializators/lrxmlwriter.cpp \
|
2017-09-13 17:16:54 +03:00
|
|
|
$$REPORT_PATH/scripteditor/lrscripteditor.cpp \
|
2017-09-16 16:04:29 +03:00
|
|
|
$$REPORT_PATH/scripteditor/lrcodeeditor.cpp \
|
2017-09-19 19:05:38 +03:00
|
|
|
$$REPORT_PATH/scripteditor/lrscripthighlighter.cpp \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/items/lrhorizontallayout.cpp \
|
|
|
|
$$REPORT_PATH/items/editors/lritemeditorwidget.cpp \
|
|
|
|
$$REPORT_PATH/items/editors/lrfonteditorwidget.cpp \
|
|
|
|
$$REPORT_PATH/items/editors/lrtextalignmenteditorwidget.cpp \
|
2017-11-27 23:14:05 +03:00
|
|
|
$$REPORT_PATH/items/editors/lritemsborderseditorwidget.cpp \
|
2021-11-02 22:30:29 +03:00
|
|
|
# $$REPORT_PATH/items/lrsimpletagparser.cpp \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/items/lrimageitem.cpp \
|
2019-08-07 21:06:47 +03:00
|
|
|
$$REPORT_PATH/items/lrimageitemeditor.cpp \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/items/lrtextitemeditor.cpp \
|
|
|
|
$$REPORT_PATH/items/lrshapeitem.cpp \
|
2016-11-02 00:21:45 +03:00
|
|
|
$$REPORT_PATH/items/lrtextitem.cpp \
|
2018-06-21 14:29:00 +03:00
|
|
|
$$REPORT_PATH/items/lrverticallayout.cpp \
|
|
|
|
$$REPORT_PATH/items/lrlayoutmarker.cpp \
|
|
|
|
$$REPORT_PATH/items/lrabstractlayout.cpp \
|
2020-01-11 02:11:55 +03:00
|
|
|
$$REPORT_PATH/items/lrchartitem.cpp \
|
|
|
|
$$REPORT_PATH/items/lrchartitemeditor.cpp \
|
2022-03-10 22:35:48 +03:00
|
|
|
$$REPORT_PATH/items/lrchartaxiseditor.cpp \
|
2020-01-11 02:11:55 +03:00
|
|
|
$$REPORT_PATH/items/charts/lrhorizontalbarchart.cpp \
|
|
|
|
$$REPORT_PATH/items/charts/lrlineschart.cpp \
|
2022-01-25 21:46:14 +03:00
|
|
|
$$REPORT_PATH/items/charts/lrgridlineschart.cpp \
|
2020-01-11 02:11:55 +03:00
|
|
|
$$REPORT_PATH/items/charts/lrpiechart.cpp \
|
|
|
|
$$REPORT_PATH/items/charts/lrverticalbarchart.cpp \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/lrbanddesignintf.cpp \
|
|
|
|
$$REPORT_PATH/lrpageitemdesignintf.cpp \
|
|
|
|
$$REPORT_PATH/lrpagedesignintf.cpp \
|
|
|
|
$$REPORT_PATH/lrbandsmanager.cpp \
|
|
|
|
$$REPORT_PATH/lrglobal.cpp \
|
|
|
|
$$REPORT_PATH/lritemdesignintf.cpp \
|
|
|
|
$$REPORT_PATH/lrdatadesignintf.cpp \
|
|
|
|
$$REPORT_PATH/lrbasedesignintf.cpp \
|
|
|
|
$$REPORT_PATH/lrreportengine.cpp \
|
|
|
|
$$REPORT_PATH/lrdatasourcemanager.cpp \
|
|
|
|
$$REPORT_PATH/lrreportrender.cpp \
|
|
|
|
$$REPORT_PATH/lrscriptenginemanager.cpp \
|
|
|
|
$$REPORT_PATH/lrpreviewreportwindow.cpp \
|
2016-03-30 23:04:59 +03:00
|
|
|
$$REPORT_PATH/lrpreviewreportwidget.cpp \
|
|
|
|
$$REPORT_PATH/lrgraphicsviewzoom.cpp \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/lrvariablesholder.cpp \
|
|
|
|
$$REPORT_PATH/lrgroupfunctions.cpp \
|
2017-11-27 23:14:05 +03:00
|
|
|
$$REPORT_PATH/lrsimplecrypt.cpp \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/lraboutdialog.cpp \
|
2016-06-10 18:05:18 +03:00
|
|
|
$$REPORT_PATH/lrsettingdialog.cpp \
|
2017-07-12 21:40:24 +03:00
|
|
|
$$REPORT_PATH/lritemscontainerdesignitf.cpp \
|
2017-08-16 01:18:56 +03:00
|
|
|
$$REPORT_PATH/lrcolorindicator.cpp \
|
2018-06-23 00:04:28 +03:00
|
|
|
$$REPORT_PATH/lrreporttranslation.cpp \
|
2019-05-29 18:10:26 +03:00
|
|
|
$$REPORT_PATH/exporters/lrpdfexporter.cpp \
|
2022-01-18 12:56:05 +03:00
|
|
|
$$REPORT_PATH/lraxisdata.cpp \
|
2022-06-13 21:18:57 +03:00
|
|
|
$$REPORT_PATH/lrpreparedpages.cpp \
|
|
|
|
$$REPORT_PATH/items/lrpageeditor.cpp \
|
2022-10-31 21:20:24 +03:00
|
|
|
$$REPORT_PATH/items/lrborderframeeditor.cpp \
|
2022-06-13 21:18:57 +03:00
|
|
|
$$REPORT_PATH/items/lrbordereditor.cpp
|
2019-05-29 18:10:26 +03:00
|
|
|
|
2021-08-18 20:14:37 +03:00
|
|
|
CONFIG(staticlib) {
|
2017-06-13 13:03:38 +03:00
|
|
|
SOURCES += $$REPORT_PATH/lrfactoryinitializer.cpp
|
|
|
|
}
|
2022-06-13 21:18:57 +03:00
|
|
|
|
2021-08-18 20:14:37 +03:00
|
|
|
CONFIG(zint) {
|
2016-03-22 15:55:02 +03:00
|
|
|
SOURCES += $$REPORT_PATH/items/lrbarcodeitem.cpp
|
|
|
|
}
|
|
|
|
|
2021-08-18 20:14:37 +03:00
|
|
|
CONFIG(svg) {
|
|
|
|
SOURCES += $$REPORT_PATH/items/lrsvgitem.cpp \
|
2020-03-18 13:34:11 +03:00
|
|
|
}
|
|
|
|
|
2016-03-22 15:55:02 +03:00
|
|
|
HEADERS += \
|
2020-03-19 20:09:35 +03:00
|
|
|
$$PWD/items/lreditableimageitemintf.h \
|
2021-12-16 00:13:39 +03:00
|
|
|
$$PWD/scripteditor/lrcompletermodel.h \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/base/lrsingleton.h \
|
2016-11-02 00:21:45 +03:00
|
|
|
$$REPORT_PATH/base/lrsimpleabstractfactory.h \
|
|
|
|
$$REPORT_PATH/base/lrattribsabstractfactory.h \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/bands/lrpageheader.h \
|
|
|
|
$$REPORT_PATH/bands/lrpagefooter.h \
|
|
|
|
$$REPORT_PATH/bands/lrreportheader.h \
|
|
|
|
$$REPORT_PATH/bands/lrreportfooter.h \
|
|
|
|
$$REPORT_PATH/bands/lrdataband.h \
|
2016-10-04 03:21:22 +03:00
|
|
|
$$REPORT_PATH/bands/lrtearoffband.h \
|
2016-11-02 00:21:45 +03:00
|
|
|
$$REPORT_PATH/bands/lrsubdetailband.h \
|
|
|
|
$$REPORT_PATH/bands/lrgroupbands.h \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/serializators/lrserializatorintf.h \
|
|
|
|
$$REPORT_PATH/serializators/lrstorageintf.h \
|
|
|
|
$$REPORT_PATH/serializators/lrxmlqrectserializator.h \
|
|
|
|
$$REPORT_PATH/serializators/lrxmlserializatorsfactory.h \
|
|
|
|
$$REPORT_PATH/serializators/lrxmlbasetypesserializators.h \
|
|
|
|
$$REPORT_PATH/serializators/lrxmlreader.h \
|
|
|
|
$$REPORT_PATH/serializators/lrxmlwriter.h \
|
2017-09-13 17:16:54 +03:00
|
|
|
$$REPORT_PATH/scripteditor/lrscripteditor.h \
|
2017-09-16 16:04:29 +03:00
|
|
|
$$REPORT_PATH/scripteditor/lrcodeeditor.h \
|
2017-09-19 19:05:38 +03:00
|
|
|
$$REPORT_PATH/scripteditor/lrscripthighlighter.h \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/items/editors/lritemeditorwidget.h \
|
|
|
|
$$REPORT_PATH/items/editors/lrfonteditorwidget.h \
|
2020-01-11 02:11:55 +03:00
|
|
|
$$REPORT_PATH/items/editors/lrtextalignmenteditorwidget.h \
|
|
|
|
$$REPORT_PATH/items/editors/lritemsborderseditorwidget.h \
|
2016-11-02 00:21:45 +03:00
|
|
|
$$REPORT_PATH/items/lrtextitem.h \
|
|
|
|
$$REPORT_PATH/items/lrhorizontallayout.h \
|
|
|
|
$$REPORT_PATH/items/lrtextitemeditor.h \
|
|
|
|
$$REPORT_PATH/items/lrshapeitem.h \
|
|
|
|
$$REPORT_PATH/items/lrimageitem.h \
|
2019-08-07 21:06:47 +03:00
|
|
|
$$REPORT_PATH/items/lrimageitemeditor.h \
|
2021-11-02 22:30:29 +03:00
|
|
|
# $$REPORT_PATH/items/lrsimpletagparser.h \
|
2018-06-21 14:29:00 +03:00
|
|
|
$$REPORT_PATH/items/lrverticallayout.h \
|
|
|
|
$$REPORT_PATH/items/lrlayoutmarker.h \
|
|
|
|
$$REPORT_PATH/items/lrabstractlayout.h \
|
2020-01-11 02:11:55 +03:00
|
|
|
$$REPORT_PATH/items/lrchartitem.h \
|
|
|
|
$$REPORT_PATH/items/lrchartitemeditor.h \
|
2022-03-10 22:35:48 +03:00
|
|
|
$$REPORT_PATH/items/lrchartaxiseditor.h \
|
2020-01-11 02:11:55 +03:00
|
|
|
$$REPORT_PATH/items/charts/lrhorizontalbarchart.h \
|
|
|
|
$$REPORT_PATH/items/charts/lrlineschart.h \
|
2022-01-25 21:46:14 +03:00
|
|
|
$$REPORT_PATH/items/charts/lrgridlineschart.h \
|
2020-01-11 02:11:55 +03:00
|
|
|
$$REPORT_PATH/items/charts/lrpiechart.h \
|
|
|
|
$$REPORT_PATH/items/charts/lrverticalbarchart.h \
|
2016-11-02 00:21:45 +03:00
|
|
|
$$REPORT_PATH/lrbanddesignintf.h \
|
|
|
|
$$REPORT_PATH/lrpageitemdesignintf.h \
|
|
|
|
$$REPORT_PATH/lrbandsmanager.h \
|
|
|
|
$$REPORT_PATH/lrglobal.h \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/lrdatadesignintf.h \
|
|
|
|
$$REPORT_PATH/lrcollection.h \
|
|
|
|
$$REPORT_PATH/lrpagedesignintf.h \
|
|
|
|
$$REPORT_PATH/lrreportengine_p.h \
|
2022-06-13 21:18:57 +03:00
|
|
|
$$REPORT_PATH/lrdatasourcemanager.h \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/lrreportrender.h \
|
|
|
|
$$REPORT_PATH/lrpreviewreportwindow.h \
|
2016-03-30 23:04:59 +03:00
|
|
|
$$REPORT_PATH/lrpreviewreportwidget.h \
|
2016-10-04 03:21:22 +03:00
|
|
|
$$REPORT_PATH/lrpreviewreportwidget_p.h \
|
2016-03-30 23:04:59 +03:00
|
|
|
$$REPORT_PATH/lrgraphicsviewzoom.h \
|
2016-11-02 00:21:45 +03:00
|
|
|
$$REPORT_PATH/lrbasedesignintf.h \
|
|
|
|
$$REPORT_PATH/lritemdesignintf.h \
|
|
|
|
$$REPORT_PATH/lrdesignelementsfactory.h \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/lrscriptenginemanager.h \
|
|
|
|
$$REPORT_PATH/lrvariablesholder.h \
|
|
|
|
$$REPORT_PATH/lrgroupfunctions.h \
|
|
|
|
$$REPORT_PATH/lrreportengine.h \
|
2019-01-24 22:10:15 +03:00
|
|
|
$$REPORT_PATH/lrdatasourceintf.h \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/lrdatasourcemanagerintf.h \
|
|
|
|
$$REPORT_PATH/lrscriptenginemanagerintf.h \
|
2017-11-27 23:14:05 +03:00
|
|
|
$$REPORT_PATH/lrsimplecrypt.h \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/lraboutdialog.h \
|
|
|
|
$$REPORT_PATH/lrcallbackdatasourceintf.h \
|
2016-03-30 23:04:59 +03:00
|
|
|
$$REPORT_PATH/lrsettingdialog.h \
|
2016-06-10 18:05:18 +03:00
|
|
|
$$REPORT_PATH/lrpreviewreportwidget_p.h \
|
2017-07-12 21:40:24 +03:00
|
|
|
$$REPORT_PATH/lritemscontainerdesignitf.h \
|
2017-08-05 01:38:19 +03:00
|
|
|
$$REPORT_PATH/lrcolorindicator.h \
|
2017-11-27 23:14:05 +03:00
|
|
|
$$REPORT_PATH/lrreporttranslation.h \
|
2018-06-23 00:04:28 +03:00
|
|
|
$$REPORT_PATH/lrreportdesignwindowintrerface.h \
|
|
|
|
$$REPORT_PATH/lrexporterintf.h \
|
2022-06-13 21:18:57 +03:00
|
|
|
$$REPORT_PATH/lrexportersfactory.h \
|
2019-05-29 18:10:26 +03:00
|
|
|
$$REPORT_PATH/exporters/lrpdfexporter.h \
|
2019-05-29 16:32:58 +03:00
|
|
|
$$REPORT_PATH/lrpreparedpages.h \
|
2022-01-18 12:56:05 +03:00
|
|
|
$$REPORT_PATH/lraxisdata.h \
|
2022-06-13 21:18:57 +03:00
|
|
|
$$REPORT_PATH/lrpreparedpagesintf.h \
|
|
|
|
$$REPORT_PATH/items/lrpageeditor.h \
|
2022-10-31 21:20:24 +03:00
|
|
|
$$REPORT_PATH/items/lrborderframeeditor.h \
|
2022-06-13 21:18:57 +03:00
|
|
|
$$REPORT_PATH/items/lrbordereditor.h
|
2019-05-29 18:10:26 +03:00
|
|
|
|
2021-08-18 20:14:37 +03:00
|
|
|
CONFIG(staticlib) {
|
2017-06-13 13:03:38 +03:00
|
|
|
HEADERS += $$REPORT_PATH/lrfactoryinitializer.h
|
|
|
|
}
|
2016-11-02 01:34:45 +03:00
|
|
|
|
2021-08-18 20:14:37 +03:00
|
|
|
CONFIG(zint) {
|
2016-03-22 15:55:02 +03:00
|
|
|
HEADERS += $$REPORT_PATH/items/lrbarcodeitem.h
|
|
|
|
}
|
|
|
|
|
2021-08-18 20:14:37 +03:00
|
|
|
CONFIG(svg) {
|
2020-03-18 13:34:11 +03:00
|
|
|
HEADERS += $$REPORT_PATH/items/lrsvgitem.h
|
|
|
|
}
|
|
|
|
|
2016-03-22 15:55:02 +03:00
|
|
|
FORMS += \
|
|
|
|
$$REPORT_PATH/lrpreviewreportwindow.ui \
|
2016-03-30 23:04:59 +03:00
|
|
|
$$REPORT_PATH/lrpreviewreportwidget.ui \
|
2016-03-22 15:55:02 +03:00
|
|
|
$$REPORT_PATH/items/lrtextitemeditor.ui \
|
|
|
|
$$REPORT_PATH/lraboutdialog.ui \
|
2016-06-10 18:05:18 +03:00
|
|
|
$$REPORT_PATH/lrsettingdialog.ui \
|
2017-08-05 01:38:19 +03:00
|
|
|
$$REPORT_PATH/items/lrchartitemeditor.ui \
|
2022-03-10 22:35:48 +03:00
|
|
|
$$REPORT_PATH/items/lrchartaxiseditor.ui \
|
2019-08-07 21:06:47 +03:00
|
|
|
$$REPORT_PATH/items/lrimageitemeditor.ui \
|
2022-06-13 21:18:57 +03:00
|
|
|
$$REPORT_PATH/scripteditor/lrscripteditor.ui \
|
|
|
|
$$REPORT_PATH/items/lrpageeditor.ui \
|
2022-10-31 21:20:24 +03:00
|
|
|
$$REPORT_PATH/items/lrborderframeeditor.ui \
|
2022-06-13 21:18:57 +03:00
|
|
|
$$REPORT_PATH/items/lrbordereditor.ui
|
2016-03-22 15:55:02 +03:00
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
$$REPORT_PATH/report.qrc \
|
2017-11-24 00:13:47 +03:00
|
|
|
$$REPORT_PATH/items/items.qrc
|
2024-09-02 15:32:42 +03:00
|
|
|
|
|
|
|
system("git --version") {
|
2024-09-20 08:03:38 +03:00
|
|
|
LR_VERSION = $$system("git --git-dir=$$PWD/../.git --work-tree=$$PWD/.. describe --tags --dirty")
|
2024-09-02 15:32:42 +03:00
|
|
|
} else {
|
|
|
|
LR_VERSION = "0.0.0-unknown"
|
|
|
|
}
|
|
|
|
|
|
|
|
VERSION_TEMPLATE = $$PWD/version.h.in
|
|
|
|
|
|
|
|
generateversion.depends = FORCE
|
|
|
|
generateversion.input = VERSION_TEMPLATE
|
|
|
|
generateversion.output = $$OUT_PWD/version.h
|
|
|
|
generateversion.commands = $$QMAKE_STREAM_EDITOR \'s/@GIT_VERSION@/$$LR_VERSION/\' ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
|
|
|
|
generateversion.CONFIG = no_link target_predeps
|
|
|
|
|
|
|
|
QMAKE_EXTRA_COMPILERS += generateversion
|