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

build without qtscriptengine fixed

This commit is contained in:
Arin Alex
2018-03-22 02:38:42 +03:00
parent 3bbc02507a
commit 01e36f3bbe
5 changed files with 25 additions and 8 deletions

View File

@@ -14,11 +14,19 @@ contains(CONFIG, easy_profiler){
DEFINES += BUILD_WITH_EASY_PROFILER
}
!contains(CONFIG, qtscriptengine):
greaterThan(QT_MAJOR_VERSION, 4):
!contains(CONFIG, qtscriptengine){
greaterThan(QT_MAJOR_VERSION, 4){
greaterThan(QT_MINOR_VERSION, 5){
CONFIG *= qjsengine
}
}
}
contains(CONFIG, qtscriptengine){
CONFIG -= qjsengine
QT *= script
message(qtscriptengine)
}
!contains(CONFIG, no_formdesigner){
CONFIG *= dialogdesigner
@@ -93,7 +101,8 @@ LIMEREPORT_VERSION_RELEASE = 68
LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}'
DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\"
QT *= script xml sql
QT *= xml sql
REPORT_PATH = $$PWD/limereport
TRANSLATIONS_PATH = $$PWD/translations