aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlmetatype
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2020-05-14 14:04:53 +0200
committerLiang Qi <liang.qi@qt.io>2020-05-16 23:50:40 +0200
commit24abd0d14ebd420c275fa4e49ddb1a43b441c74f (patch)
treecaa07379ab70b27f9074155fb8420c84b10c48ae /tests/auto/qml/qqmlmetatype
parentc7d3ab0d058ce71079c2f49ab20fcbe8ddcde072 (diff)
Compile with latest qtbase dev
Get rid of QTextCodec in QQmlError and qcoloroutput.cpp and etc. Change-Id: I26ab81536d12eb0587d5d9ae747f6a379a4d0b12 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlmetatype')
-rw-r--r--tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp b/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp
index b69b466947..6f59cca1b1 100644
--- a/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp
+++ b/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp
@@ -220,13 +220,13 @@ void tst_qqmlmetatype::qmlType()
QQmlType type = QQmlMetaType::qmlType(QString("ParserStatusTestType"), QString("Test"),
QTypeRevision::fromVersion(1, 0));
QVERIFY(type.isValid());
- QVERIFY(type.module() == QLatin1String("Test"));
+ QVERIFY(type.module() == QHashedString("Test"));
QVERIFY(type.elementName() == QLatin1String("ParserStatusTestType"));
QCOMPARE(type.qmlTypeName(), QLatin1String("Test/ParserStatusTestType"));
type = QQmlMetaType::qmlType("Test/ParserStatusTestType", QTypeRevision::fromVersion(1, 0));
QVERIFY(type.isValid());
- QVERIFY(type.module() == QLatin1String("Test"));
+ QVERIFY(type.module() == QHashedString("Test"));
QVERIFY(type.elementName() == QLatin1String("ParserStatusTestType"));
QCOMPARE(type.qmlTypeName(), QLatin1String("Test/ParserStatusTestType"));
}