diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-01-23 13:09:26 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-01-23 12:29:44 +0000 |
commit | c269c700281914f5c5893bc7fe84c748df0fede8 (patch) | |
tree | d387aeaddcb8d8322f256745bf0bc58c0792362f /PySide2/QtQml | |
parent | 96bed2e573d8251f0cc8598c24b2e6340deaca0a (diff) |
Fix PySide QtQuick build with Qt 5.5.1
QQuickAsyncImageProvider and QQuickImageResponse were first introduced
in Qt 5.6. They were not conditionally added in PySide, and thus
building with Qt 5.5.1 failed.
Fix consists in conditionally building the bindings for the relevant
classes and enums.
Task-number: PYSIDE-355
Change-Id: Ic4fefb661931c4937af51db06eb30ea92c8466e0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'PySide2/QtQml')
-rw-r--r-- | PySide2/QtQml/typesystem_qml.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide2/QtQml/typesystem_qml.xml b/PySide2/QtQml/typesystem_qml.xml index 86a448989..427b82d90 100644 --- a/PySide2/QtQml/typesystem_qml.xml +++ b/PySide2/QtQml/typesystem_qml.xml @@ -94,7 +94,7 @@ </inject-code> <object-type name="QJSEngine"> - <enum-type name="Extension" flags="Extensions" /> + <enum-type name="Extension" flags="Extensions" since="5.6" /> <add-function signature="toScriptValue(const QVariant&)" return-type="QJSValue"> <inject-code class="target" position="end"> %RETURN_TYPE retval = %CPPSELF.%FUNCTION_NAME(%1); |