From c7ce1bc05c1ec2f63dd2531f23a3e9f6fe866556 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 14 Jul 2020 14:25:18 +0200 Subject: Move conversions to and from *Iterables into QMetaType Those were not yet supported by QMetaType. Change-Id: I9f85476049f200e35939ac58ef7e8b4e7cbe0b77 Reviewed-by: Fabian Kosmale Reviewed-by: Lars Knoll --- tests/auto/corelib/kernel/qmetatype/tst_qmetatype.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/auto/corelib/kernel/qmetatype') diff --git a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.h b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.h index 3f00db5519..43a099de17 100644 --- a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.h +++ b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.h @@ -121,6 +121,10 @@ template<> struct TestValueFactory { template<> struct TestValueFactory { static QVariantHash *create() { return new QVariantHash(); } }; +template<> struct TestValueFactory { + static QVariantPair *create() { return new QVariantPair(); } +}; + template<> struct TestValueFactory { static QVariantList *create() { return new QVariantList(QVariantList() << 123 << "Q" << "Variant" << "List"); } }; -- cgit v1.2.3