qt5/tests/check_forms.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 4098c6546d9be6ab93a817d52dd749b43aede868 Author: Albert Astals Cid <[email protected]> Date: Tue Apr 7 17:27:16 2020 +0200 Fix test in MSVC For some reason MSVC doesn't like QStringLiteral with non ascii chars diff --git a/qt5/tests/check_forms.cpp b/qt5/tests/check_forms.cpp index 4ab58f09..71d0f399 100644 --- a/qt5/tests/check_forms.cpp +++ b/qt5/tests/check_forms.cpp @@ -72,9 +72,9 @@ void TestForms::testStandAloneWidgets() QCOMPARE( ff->isStandAlone() , true ); // tooltip.pdf has only these 3 standalone widgets - QVERIFY( field->uiName() == QStringLiteral("This is a tooltip!") || + QVERIFY( field->uiName() == QStringLiteral("This is a tooltip!") || //clazy:exclude=qstring-allocations field->uiName() == QStringLiteral("Sulfuric acid") || - field->uiName() == QStringLiteral("little Gauß") ); + field->uiName() == QString::fromUtf8("little Gauß") ); } } _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
