aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcontext.h
diff options
context:
space:
mode:
authorIevgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>2022-06-15 15:01:23 +0200
committerIevgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>2022-06-18 08:13:20 +0200
commitcaf35f0fedcebb3ce84045f1227dfe029bb12e43 (patch)
tree34f8096a48dc2321887cc4b8ee86079b1a3a3e89 /src/qml/qml/qqmlcontext.h
parent833f83f270e844265905e4657ef74319b7b8b68f (diff)
QQmlContext: Don't redeclare metatype for QList<QObject *>
Metatypes for QList's of registered types are automatically declared by Qt already. Redeclaring such metatypes may cause problems when building source core that uses such metatypes in headers processed by moc. Fixes: QTBUG-102965 Pick-to: 6.2 6.3 6.4 Change-Id: I2b29792b949cd3d6fefd3d9a916c8a800208e722 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlcontext.h')
-rw-r--r--src/qml/qml/qqmlcontext.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlcontext.h b/src/qml/qml/qqmlcontext.h
index f5de17a96d..eb6210d5b3 100644
--- a/src/qml/qml/qqmlcontext.h
+++ b/src/qml/qml/qqmlcontext.h
@@ -72,6 +72,4 @@ private:
};
QT_END_NAMESPACE
-Q_DECLARE_METATYPE(QList<QObject*>)
-
#endif // QQMLCONTEXT_H