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,18 +1,19 @@
include(../common.pri)
QT += core gui
contains(CONFIG,release) {
TARGET = LRDesigner
CONFIG(release) {
TARGET = LRDesigner
} else {
TARGET = LRDesignerd
TARGET = LRDesignerd
}
TEMPLATE = app
HEADERS += \
designersettingmanager.h
designersettingmanager.h
SOURCES += main.cpp \
designersettingmanager.cpp
designersettingmanager.cpp
INCLUDEPATH += $$PWD/../include
DEPENDPATH += $$PWD/../include
@@ -51,17 +52,15 @@ win32 {
LIBS += -L$${DEST_LIBS}
CONFIG(debug, debug|release) {
LIBS += -llimereportd
LIBS += -llimereportd
} else {
LIBS += -llimereport
LIBS += -llimereport
}
!contains(CONFIG, static_build){
contains(CONFIG,zint){
CONFIG(debug, debug|release) {
LIBS += -L$${DEST_LIBS} -lQtZintd
} else {
LIBS += -L$${DEST_LIBS} -lQtZint
}
!CONFIG(static_build) : CONFIG(zint) {
CONFIG(debug, debug|release) {
LIBS += -L$${DEST_LIBS} -lQtZintd
} else {
LIBS += -L$${DEST_LIBS} -lQtZint
}
}