aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlproperty.cpp
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2023-02-08 10:12:20 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2023-02-08 20:14:19 +0000
commite3831511dedc9d3a70dec2d6699061d11400bb89 (patch)
tree0d8b281de98532bbede67e1b673657c792e8fcbc /src/qml/qml/qqmlproperty.cpp
parent4ecdd90e081f0db5ab606137075920d3231f4bbb (diff)
Remove superfluous Q_DECLARE_METATYPE
It breaks unity builds, and declaring metatypes outside of the actual class that uses them is generally a bad idea. Pick-to: 6.5 Change-Id: I0106667f6075aabc2fa3c9e5271d21b64f41e4c1 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlproperty.cpp')
-rw-r--r--src/qml/qml/qqmlproperty.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/qml/qml/qqmlproperty.cpp b/src/qml/qml/qqmlproperty.cpp
index ad08f06b05..5917bab1ec 100644
--- a/src/qml/qml/qqmlproperty.cpp
+++ b/src/qml/qml/qqmlproperty.cpp
@@ -31,12 +31,6 @@
#include <QtCore/private/qproperty_p.h>
#include <QtCore/qsequentialiterable.h>
-Q_DECLARE_METATYPE(QList<int>)
-Q_DECLARE_METATYPE(QList<qreal>)
-Q_DECLARE_METATYPE(QList<bool>)
-Q_DECLARE_METATYPE(QList<QString>)
-Q_DECLARE_METATYPE(QList<QUrl>)
-
QT_BEGIN_NAMESPACE
DEFINE_BOOL_CONFIG_OPTION(compatResolveUrlsOnAssigment, QML_COMPAT_RESOLVE_URLS_ON_ASSIGNMENT);