summaryrefslogtreecommitdiffstats
path: root/tests/postbuild
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-08-22 14:01:11 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-08-22 14:12:33 +0200
commit75d1fec86b8d9fb1c9647d555ce7d70013400c88 (patch)
treea968670dd2235d33d39fdd41bd5582313cd924a3 /tests/postbuild
parentce6510b1b8cd06ae3aa4895ccbde078b39221306 (diff)
Fix BIC test to build against latest changes in qtbase
Fixes: QTQAINFRA-3877 Change-Id: If7e016003da55ba58f490eb57285d2c2b30c0a59 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/postbuild')
-rw-r--r--tests/postbuild/global.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/postbuild/global.h b/tests/postbuild/global.h
index f05a4478..e349d9dc 100644
--- a/tests/postbuild/global.h
+++ b/tests/postbuild/global.h
@@ -59,14 +59,14 @@ QHash<QString, QString> qt_tests_shared_global_get_modules(const QString &workDi
while (!xml.atEnd()) {
xml.readNext();
- if (xml.tokenType() == QXmlStreamReader::StartElement && xml.name() == "config") {
+ if (xml.tokenType() == QXmlStreamReader::StartElement && xml.name() == QLatin1String("config")) {
xml.readNextStartElement();
- if (xml.name() == "modules") {
+ if (xml.name() == QLatin1String("modules")) {
while (!xml.atEnd()) {
xml.readNextStartElement();
QString modName;
QString qtModName;
- if (xml.name() == "module") {
+ if (xml.name() == QLatin1String("module")) {
modName = xml.attributes().value("name").toString().simplified();
qtModName = xml.attributes().value("qtname").toString().simplified();
if (!modName.isEmpty() && !qtModName.isEmpty())