From a885f28933896998cd363999b7825b95c365b3f5 Mon Sep 17 00:00:00 2001 From: Sona Kurazyan Date: Fri, 18 Mar 2022 12:53:51 +0100 Subject: Replace uses of _qs with _s in tests Task-number: QTBUG-101408 Change-Id: If092a68828a1e8056259cf90d035d9a87989244b Reviewed-by: Edward Welbourne --- tests/auto/testlib/selftests/tst_selftests.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/auto/testlib/selftests') diff --git a/tests/auto/testlib/selftests/tst_selftests.cpp b/tests/auto/testlib/selftests/tst_selftests.cpp index 9b7f6a55d5..f0af479d47 100644 --- a/tests/auto/testlib/selftests/tst_selftests.cpp +++ b/tests/auto/testlib/selftests/tst_selftests.cpp @@ -50,6 +50,8 @@ QT_REQUIRE_CONFIG(process); #include +using namespace Qt::StringLiterals; + struct BenchmarkResult { qint64 total; @@ -693,7 +695,7 @@ bool TestLogger::shouldIgnoreTest(const QString &test) const #if defined(__GNUC__) && (defined(__i386) || defined(__x86_64)) && defined(Q_OS_LINUX) // Check that it's actually available QProcess checkProcess; - QStringList args{u"--version"_qs}; + QStringList args{u"--version"_s}; checkProcess.start("valgrind", args); if (!checkProcess.waitForFinished(-1)) { WARN("Valgrind broken or not available. Not running benchlibcallgrind test!"); -- cgit v1.2.3