22 lines
925 B
Diff
22 lines
925 B
Diff
commit 3cb4f2834eac0f422712a837c425a43114af586c
|
|
Author: Kevin Funk <kevin.funk@kdab.com>
|
|
Date: Tue Mar 12 10:14:43 2019 +0100
|
|
|
|
Adapt to removal of QQmlType::createSize in 5.13
|
|
|
|
diff --git a/plugins/qmlsupport/qmlsupport.cpp b/plugins/qmlsupport/qmlsupport.cpp
|
|
index 019a847f..0c1d4c45 100644
|
|
--- a/plugins/qmlsupport/qmlsupport.cpp
|
|
+++ b/plugins/qmlsupport/qmlsupport.cpp
|
|
@@ -356,7 +356,9 @@ QmlSupport::QmlSupport(Probe *probe, QObject *parent)
|
|
MO_ADD_PROPERTY_RO(QQmlType, elementName);
|
|
MO_ADD_PROPERTY_RO(QQmlType, majorVersion);
|
|
MO_ADD_PROPERTY_RO(QQmlType, minorVersion);
|
|
- MO_ADD_PROPERTY_RO(QQmlType, createSize);
|
|
+#if QT_VERSION < QT_VERSION_CHECK(5, 13, 0)
|
|
+ MO_ADD_PROPERTY_RO(QQmlType, createSize); // got removed in v5.13.0-alpha1
|
|
+#endif
|
|
MO_ADD_PROPERTY_RO(QQmlType, isCreatable);
|
|
MO_ADD_PROPERTY_RO(QQmlType, isExtendedType);
|
|
MO_ADD_PROPERTY_RO(QQmlType, isSingleton);
|