0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-23 16:22:58 +03:00
LimeReport/limereport/limereport.pri

232 lines
8.7 KiB
Plaintext
Raw Permalink Normal View History

include(../common.pri)
2021-08-18 20:14:37 +03:00
contains(CONFIG, embedded_designer) {
include(designer.pri)
message(embedded designer)
2017-11-27 23:14:05 +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
SOURCES += \
$$PWD/scripteditor/lrcompletermodel.cpp \
$$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 \
$$REPORT_PATH/bands/lrtearoffband.cpp \
$$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 \
$$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 \
$$REPORT_PATH/items/lrimageitem.cpp \
2019-08-07 21:06:47 +03:00
$$REPORT_PATH/items/lrimageitemeditor.cpp \
$$REPORT_PATH/items/lrtextitemeditor.cpp \
$$REPORT_PATH/items/lrshapeitem.cpp \
$$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 \
$$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 \
$$REPORT_PATH/lrvariablesholder.cpp \
$$REPORT_PATH/lrgroupfunctions.cpp \
2017-11-27 23:14:05 +03:00
$$REPORT_PATH/lrsimplecrypt.cpp \
$$REPORT_PATH/lraboutdialog.cpp \
2016-06-10 18:05:18 +03:00
$$REPORT_PATH/lrsettingdialog.cpp \
$$REPORT_PATH/lritemscontainerdesignitf.cpp \
2017-08-16 01:18:56 +03:00
$$REPORT_PATH/lrcolorindicator.cpp \
$$REPORT_PATH/lrreporttranslation.cpp \
$$REPORT_PATH/exporters/lrpdfexporter.cpp \
$$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
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) {
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
}
HEADERS += \
2020-03-19 20:09:35 +03:00
$$PWD/items/lreditableimageitemintf.h \
$$PWD/scripteditor/lrcompletermodel.h \
$$REPORT_PATH/base/lrsingleton.h \
$$REPORT_PATH/base/lrsimpleabstractfactory.h \
$$REPORT_PATH/base/lrattribsabstractfactory.h \
$$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 \
$$REPORT_PATH/bands/lrtearoffband.h \
$$REPORT_PATH/bands/lrsubdetailband.h \
$$REPORT_PATH/bands/lrgroupbands.h \
$$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 \
$$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 \
$$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 \
$$REPORT_PATH/lrbanddesignintf.h \
$$REPORT_PATH/lrpageitemdesignintf.h \
$$REPORT_PATH/lrbandsmanager.h \
$$REPORT_PATH/lrglobal.h \
$$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 \
$$REPORT_PATH/lrreportrender.h \
$$REPORT_PATH/lrpreviewreportwindow.h \
2016-03-30 23:04:59 +03:00
$$REPORT_PATH/lrpreviewreportwidget.h \
$$REPORT_PATH/lrpreviewreportwidget_p.h \
2016-03-30 23:04:59 +03:00
$$REPORT_PATH/lrgraphicsviewzoom.h \
$$REPORT_PATH/lrbasedesignintf.h \
$$REPORT_PATH/lritemdesignintf.h \
$$REPORT_PATH/lrdesignelementsfactory.h \
$$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 \
$$REPORT_PATH/lrdatasourcemanagerintf.h \
$$REPORT_PATH/lrscriptenginemanagerintf.h \
2017-11-27 23:14:05 +03:00
$$REPORT_PATH/lrsimplecrypt.h \
$$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 \
$$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 \
$$REPORT_PATH/lrreportdesignwindowintrerface.h \
$$REPORT_PATH/lrexporterintf.h \
2022-06-13 21:18:57 +03:00
$$REPORT_PATH/lrexportersfactory.h \
$$REPORT_PATH/exporters/lrpdfexporter.h \
$$REPORT_PATH/lrpreparedpages.h \
$$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
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) {
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
}
FORMS += \
$$REPORT_PATH/lrpreviewreportwindow.ui \
2016-03-30 23:04:59 +03:00
$$REPORT_PATH/lrpreviewreportwidget.ui \
$$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
RESOURCES += \
$$REPORT_PATH/report.qrc \
2017-11-24 00:13:47 +03:00
$$REPORT_PATH/items/items.qrc
system("git --version") {
LR_VERSION = $$system("git --git-dir=$$PWD/../.git --work-tree=$$PWD/.. describe --tags --dirty")
} 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