forked from qt-creator/qt-creator
QmlDesigner: fix binding is not working
Change-Id: Ic40eca09f281626428157dd94ed802c846b2f7e9 Task-number: QTCREATORBUG-15942 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
6ffbb88b7b
commit
217fef2b1b
@@ -1,5 +1,29 @@
|
||||
INCLUDEPATH += $$PWD/
|
||||
|
||||
# in case we are building the puppet inside qtcreator we don't have the qtcreator.pri where this function comes from
|
||||
defineTest(minQtVersion) {
|
||||
maj = $$1
|
||||
min = $$2
|
||||
patch = $$3
|
||||
isEqual(QT_MAJOR_VERSION, $$maj) {
|
||||
isEqual(QT_MINOR_VERSION, $$min) {
|
||||
isEqual(QT_PATCH_VERSION, $$patch) {
|
||||
return(true)
|
||||
}
|
||||
greaterThan(QT_PATCH_VERSION, $$patch) {
|
||||
return(true)
|
||||
}
|
||||
}
|
||||
greaterThan(QT_MINOR_VERSION, $$min) {
|
||||
return(true)
|
||||
}
|
||||
}
|
||||
greaterThan(QT_MAJOR_VERSION, $$maj) {
|
||||
return(true)
|
||||
}
|
||||
return(false)
|
||||
}
|
||||
|
||||
minQtVersion(5, 6, 0) {
|
||||
HEADERS += \
|
||||
$$PWD/qmlprivategate.h
|
||||
|
Reference in New Issue
Block a user