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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user