2016-03-27 22:02:58 +03:00
|
|
|
CONFIG += build_translations
|
|
|
|
CONFIG += zint
|
|
|
|
ZINT_PATH = $$PWD/3rdparty/zint-2.4.4
|
|
|
|
|
|
|
|
CONFIG(release, debug|release){
|
|
|
|
message(Release)
|
|
|
|
BUILD_TYPE = release
|
|
|
|
}else{
|
|
|
|
message(Debug)
|
|
|
|
BUILD_TYPE = debug
|
|
|
|
}
|
|
|
|
|
2016-03-24 17:10:44 +03:00
|
|
|
BUILD_DIR = $$PWD/build/$${QT_VERSION}
|
2016-03-31 02:42:12 +03:00
|
|
|
DEST_INCLUDE_DIR = $$PWD/include/
|
2016-03-22 15:55:02 +03:00
|
|
|
|
2016-03-27 22:02:58 +03:00
|
|
|
unix:!macx {
|
|
|
|
ARCH_DIR = $${OUT_PWD}/unix
|
|
|
|
}
|
|
|
|
win32 {
|
|
|
|
ARCH_DIR = $${OUT_PWD}/win32
|
|
|
|
}
|
|
|
|
macx{
|
|
|
|
ARCH_DIR = $${OUT_PWD}/macx
|
|
|
|
}
|
|
|
|
|
|
|
|
MOC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/moc
|
|
|
|
UI_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/ui
|
|
|
|
UI_HEADERS_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/ui
|
|
|
|
UI_SOURCES_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/ui
|
|
|
|
OBJECTS_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/obj
|
|
|
|
RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
|
|
|
|
|
2016-03-22 15:55:02 +03:00
|
|
|
LIMEREPORT_VERSION_MAJOR = 1
|
|
|
|
LIMEREPORT_VERSION_MINOR = 3
|
|
|
|
LIMEREPORT_VERSION_RELEASE = 10
|
|
|
|
|
|
|
|
LIMEREPORT_VERSION = '\\"$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}\\"'
|
|
|
|
DEFINES += LIMEREPORT_VERSION_STR=\"$${LIMEREPORT_VERSION}\"
|
|
|
|
DEFINES += LIMEREPORT_VERSION=$${LIMEREPORT_VERSION}
|
|
|
|
|
|
|
|
QT += script xml sql
|
|
|
|
REPORT_PATH = $$PWD/limereport
|
2016-03-22 22:58:18 +03:00
|
|
|
TRANSLATIONS_PATH = $$PWD/translations
|
2016-03-22 15:55:02 +03:00
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
|
|
DEFINES+=HAVE_QT5
|
|
|
|
QT+= printsupport widgets
|
|
|
|
contains(QT,uitools){
|
|
|
|
message(uitools)
|
|
|
|
DEFINES += HAVE_UI_LOADER
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
lessThan(QT_MAJOR_VERSION, 5){
|
|
|
|
CONFIG(uitools){
|
|
|
|
message(uitools)
|
|
|
|
DEFINES += HAVE_UI_LOADER
|
|
|
|
}
|
|
|
|
}
|