aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmltest')
-rw-r--r--src/qmltest/quicktestutil.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qmltest/quicktestutil.cpp b/src/qmltest/quicktestutil.cpp
index 87abaeb177..132c172eea 100644
--- a/src/qmltest/quicktestutil.cpp
+++ b/src/qmltest/quicktestutil.cpp
@@ -53,6 +53,8 @@
QT_BEGIN_NAMESPACE
+using namespace Qt::StringLiterals;
+
bool QuickTestUtil::printAvailableFunctions() const
{
return QTest::printAvailableFunctions;
@@ -67,7 +69,7 @@ void QuickTestUtil::populateClipboardText(int lineCount)
{
#if QT_CONFIG(clipboard)
QString fmt(u"%1 bottles of beer on the wall, %1 bottles of beer; "
- "take one down, pass it around, %2 bottles of beer on the wall."_qs);
+ "take one down, pass it around, %2 bottles of beer on the wall."_s);
QStringList lines;
for (int i = lineCount; i > 0; --i)
lines << fmt.arg(i).arg(i - 1);