diff --git a/tests/benchmarks/corelib/kernel/qvariant/tst_qvariant.cpp b/tests/benchmarks/corelib/kernel/qvariant/tst_qvariant.cpp index 4aa08f1a43..f2618f7813 100644 --- a/tests/benchmarks/corelib/kernel/qvariant/tst_qvariant.cpp +++ b/tests/benchmarks/corelib/kernel/qvariant/tst_qvariant.cpp @@ -338,7 +338,7 @@ void tst_qvariant::createCoreType_data() QTest::addColumn("typeId"); for (int i = QMetaType::FirstCoreType; i <= QMetaType::LastCoreType; ++i) { if (QMetaType metaType(i); metaType.isValid()) // QMetaType(27) does not exist - QTest::newRow(metaType.typeName(i)) << i; + QTest::newRow(metaType.name()) << i; } }