From a57f3b44bfc73e998980f96fb1b4452be1be1a74 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Fri, 11 Jun 2021 12:42:10 +0200 Subject: [PATCH] Don't use APPLESS testing for QString Its collation (and everything locale-related) is only supported during the lifetime of QApplication. Change-Id: Ide97795664d45768e66248d47c3b1da83935b0d6 Reviewed-by: Thiago Macieira --- tests/auto/corelib/text/qstring/tst_qstring.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/auto/corelib/text/qstring/tst_qstring.cpp b/tests/auto/corelib/text/qstring/tst_qstring.cpp index 8329948ef10..dcc3c1ef82e 100644 --- a/tests/auto/corelib/text/qstring/tst_qstring.cpp +++ b/tests/auto/corelib/text/qstring/tst_qstring.cpp @@ -6945,6 +6945,7 @@ void tst_QString::isValidUtf16() QTEST(string.isValidUtf16(), "valid"); } -QTEST_APPLESS_MAIN(tst_QString) +// QString's collation order is only supported during the lifetime as QCoreApplication +QTEST_GUILESS_MAIN(tst_QString) #include "tst_qstring.moc"