summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2017-08-15 12:21:21 +0200
committerLiang Qi <liang.qi@qt.io>2017-08-15 12:44:40 +0200
commit580f3366a74e95369a151ed6108c9f94a5cef303 (patch)
treee8ea7cbb553d9686b0f974f813634e937396ada3 /tools
parent706c07ffb3f9ba473c71f4c8b66be94b810500c8 (diff)
parent9a6d57385c49fa702319139ae1f2e471520963ee (diff)
downloadqtactiveqt-580f3366a74e95369a151ed6108c9f94a5cef303.tar.gz
Merge remote-tracking branch 'origin/5.9' into devv5.10.0-alpha1
Conflicts: .qmake.conf Change-Id: I4d94e662fb8608a90cb548b5c79f82482d5d819b
Diffstat (limited to 'tools')
-rw-r--r--tools/dumpcpp/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/dumpcpp/main.cpp b/tools/dumpcpp/main.cpp
index 97915c1..1f0cca8 100644
--- a/tools/dumpcpp/main.cpp
+++ b/tools/dumpcpp/main.cpp
@@ -196,11 +196,11 @@ void generateClassDecl(QTextStream &out, const QString &controlID, const QMetaOb
out << " internalRelease();" << endl;
else if (category & Licensed) {
out << " if (licenseKey.isEmpty())" << endl;
- out << " setControl(\"" << controlID << "\");" << endl;
+ out << " setControl(QStringLiteral(\"" << controlID << "\"));" << endl;
out << " else" << endl;
- out << " setControl(\"" << controlID << ":\" + licenseKey);" << endl;
+ out << " setControl(QStringLiteral(\"" << controlID << ":\" + licenseKey));" << endl;
} else {
- out << " setControl(\"" << controlID << "\");" << endl;
+ out << " setControl(QStringLiteral(\"" << controlID << "\"));" << endl;
}
out << " }" << endl;
out << endl;