diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-11-21 11:44:09 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-11-24 15:35:25 +0000 |
commit | d037cc4ecc7d8b3094e558b20eb4b637a63d0f53 (patch) | |
tree | 72b5e4b8f2a2b58ed0d8f607880f26dd93c3e9d8 | |
parent | b9419216daf482a3b6c2bf9e7da5381f52e33650 (diff) |
-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) |