aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/tst_blackboxapple.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/tst_blackboxapple.cpp')
-rw-r--r--tests/auto/blackbox/tst_blackboxapple.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/blackbox/tst_blackboxapple.cpp b/tests/auto/blackbox/tst_blackboxapple.cpp
index 87bea9ae5..786dba432 100644
--- a/tests/auto/blackbox/tst_blackboxapple.cpp
+++ b/tests/auto/blackbox/tst_blackboxapple.cpp
@@ -855,8 +855,9 @@ void TestBlackboxApple::infoPlist()
// QBS-1447: UIDeviceFamily was set to a string instead of an array
const auto family = content.value(QStringLiteral("UIDeviceFamily"));
if (family.isValid()) {
- // int gets converted to a double when exporting plist as JSON
- QVERIFY(testVariantListType(family, QMetaType::Double));
+ // Prior to Qt 5.15, int gets converted to a double when exporting plist as JSON
+ QVERIFY(testVariantListType(family, QMetaType::LongLong)
+ || testVariantListType(family, QMetaType::Double));
}
const auto caps = content.value(QStringLiteral("UIRequiredDeviceCapabilities"));
if (caps.isValid())