0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-25 00:18:06 +03:00

Simplify .pro/.pri

This commit is contained in:
Rodrigo Torres
2021-08-18 14:14:37 -03:00
parent d56fb6150c
commit e96e1a9adc
13 changed files with 235 additions and 240 deletions

View File

@@ -1,6 +1,6 @@
include(../common.pri)
contains(CONFIG, embedded_designer){
contains(CONFIG, embedded_designer) {
include(designer.pri)
message(embedded designer)
}
@@ -76,17 +76,16 @@ SOURCES += \
$$REPORT_PATH/exporters/lrpdfexporter.cpp \
$$REPORT_PATH/lrpreparedpages.cpp
contains(CONFIG, staticlib){
CONFIG(staticlib) {
SOURCES += $$REPORT_PATH/lrfactoryinitializer.cpp
}
contains(CONFIG, zint){
CONFIG(zint) {
SOURCES += $$REPORT_PATH/items/lrbarcodeitem.cpp
}
contains(CONFIG, svg){
SOURCES += $$REPORT_PATH/items/lrsvgitem.cpp \
CONFIG(svg) {
SOURCES += $$REPORT_PATH/items/lrsvgitem.cpp \
}
HEADERS += \
@@ -171,15 +170,15 @@ HEADERS += \
$$REPORT_PATH/lrpreparedpages.h \
$$REPORT_PATH/lrpreparedpagesintf.h
contains(CONFIG, staticlib){
CONFIG(staticlib) {
HEADERS += $$REPORT_PATH/lrfactoryinitializer.h
}
contains(CONFIG,zint){
CONFIG(zint) {
HEADERS += $$REPORT_PATH/items/lrbarcodeitem.h
}
contains(CONFIG, svg){
CONFIG(svg) {
HEADERS += $$REPORT_PATH/items/lrsvgitem.h
}
@@ -196,4 +195,3 @@ FORMS += \
RESOURCES += \
$$REPORT_PATH/report.qrc \
$$REPORT_PATH/items/items.qrc