From 4f98bf713f6604903c4fe61adc750b23c4407a18 Mon Sep 17 00:00:00 2001 From: David Faure Date: Fri, 6 Nov 2020 20:20:23 +0100 Subject: qtdeclarative: finish fixing compilation with explicit QChar(int) Change-Id: Idb26e2df6d4fe8940db57066a30fa8c243f6d2c9 Reviewed-by: Volker Hilsheimer --- tests/auto/qml/qqmlvaluetypes/tst_qqmlvaluetypes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/qml/qqmlvaluetypes') diff --git a/tests/auto/qml/qqmlvaluetypes/tst_qqmlvaluetypes.cpp b/tests/auto/qml/qqmlvaluetypes/tst_qqmlvaluetypes.cpp index 0cbfc958cf..2829ab08a1 100644 --- a/tests/auto/qml/qqmlvaluetypes/tst_qqmlvaluetypes.cpp +++ b/tests/auto/qml/qqmlvaluetypes/tst_qqmlvaluetypes.cpp @@ -1714,7 +1714,7 @@ void tst_qqmlvaluetypes::sequences() QCOMPARE(value.property(i).property("baseProperty").toInt(), container.at(i).baseProperty()); } { - QVector qcharVector{1, 4, 42, 8, 15}; + QVector qcharVector{QChar(1), QChar(4), QChar(42), QChar(8), QChar(15)}; QJSValue value = engine.toScriptValue(qcharVector); QCOMPARE(value.property("length").toInt(), qcharVector.length()); for (int i = 0; i < qcharVector.length(); ++i) -- cgit v1.2.3