QJSEngine will be used if Qt version 5.6 and higher

This commit is contained in:
Arin Alexander
2017-12-14 02:28:57 +03:00
parent 41dec61d02
commit 09754e6906
6 changed files with 319 additions and 183 deletions
+4 -1
View File
@@ -4,10 +4,13 @@ CONFIG *= build_translations
CONFIG *= zint
}
!contains(CONFIG, qtscriptengine){
!contains(CONFIG, qtscriptengine):
greaterThan(QT_MAJOR_VERSION, 4):
greaterThan(QT_MINOR_VERSION, 5){
CONFIG *= qjsengine
}
!contains(CONFIG, no_formdesigner){
CONFIG *= dialogdesigner
}