diff options
Diffstat (limited to 'src/qml/qml/qqmllist.h')
-rw-r--r-- | src/qml/qml/qqmllist.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qml/qml/qqmllist.h b/src/qml/qml/qqmllist.h index 7eb6d71670..3cc353ef30 100644 --- a/src/qml/qml/qqmllist.h +++ b/src/qml/qml/qqmllist.h @@ -43,10 +43,10 @@ #include <QtQml/qtqmlglobal.h> #include <QtCore/qlist.h> #include <QtCore/qvariant.h> +#include <QtCore/QMetaType> QT_BEGIN_NAMESPACE - class QObject; struct QMetaObject; @@ -230,6 +230,11 @@ private: QQmlListReferencePrivate* d; }; +namespace QtPrivate { +template<typename T> +inline constexpr bool IsQmlListType<QQmlListProperty<T>> = true; +} + QT_END_NAMESPACE Q_DECLARE_METATYPE(QQmlListReference) |