Commit ced554aa authored by Thomas Hartmann's avatar Thomas Hartmann Committed by Tim Jenssen

Qml2Puppet: Use helper functions from Qt 5.6

In Qt 5.6 we do not need to access the private API directly.
QmlPrivateGate is forwarded to the helper functions in Qt.

This removes direct dependencies to QML internals in qml2puppet.

Change-Id: I274cb306815824c988b6d79966f007298f6d1e60
(cherry picked from commit d6d0bd60357a41cd6c83b511fd30ab12157ed95d)
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent 78d30467
INCLUDEPATH += $$PWD/ INCLUDEPATH += $$PWD/
minQtVersion(5, 6, 0) {
HEADERS += \
$$PWD/qmlprivategate.h
SOURCES += \
$$PWD/qmlprivategate_56.cpp
} else {
HEADERS += \ HEADERS += \
$$PWD/qmlprivategate.h \ $$PWD/qmlprivategate.h \
$$PWD/metaobject.h \ $$PWD/metaobject.h \
...@@ -9,4 +18,4 @@ SOURCES += \ ...@@ -9,4 +18,4 @@ SOURCES += \
$$PWD/qmlprivategate.cpp \ $$PWD/qmlprivategate.cpp \
$$PWD/metaobject.cpp \ $$PWD/metaobject.cpp \
$$PWD/designercustomobjectdata.cpp $$PWD/designercustomobjectdata.cpp
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment