aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2020-01-28 13:07:17 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2020-01-28 13:19:33 +0100
commit688ac0d553c531a673507db0139231e8f2acb379 (patch)
tree562eaeb1d3a850bdc674c5581a868361eaa72323
parentc8c40c4b0df7576e1c7f3c1882dbe7bfee027d7a (diff)
Fix tst_qqmlvaluetypes::colorProperty when run standalone
The test relied on implicit registration of QQmlProperty in the meta-type system. Change-Id: I21e08a44f8e3d3b1376977cb9c959e0630789ef9 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
-rw-r--r--tests/auto/qml/qqmlvaluetypes/testtypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlvaluetypes/testtypes.h b/tests/auto/qml/qqmlvaluetypes/testtypes.h
index e11d831236..78797f06b1 100644
--- a/tests/auto/qml/qqmlvaluetypes/testtypes.h
+++ b/tests/auto/qml/qqmlvaluetypes/testtypes.h
@@ -48,6 +48,8 @@
#include <private/qqmlproperty_p.h>
#include <private/qqmlpropertyvalueinterceptor_p.h>
+Q_DECLARE_METATYPE(QQmlProperty)
+
class MyTypeObject : public QObject
{
Q_OBJECT