diff options
Diffstat (limited to 'tests/auto/testlib/selftests')
-rw-r--r-- | tests/auto/testlib/selftests/tst_selftests.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 <QtTest/private/qemulationdetector_p.h> +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!"); |