summaryrefslogtreecommitdiff
path: root/src/shared/proparser/prowriter.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-07-13 09:27:18 +0200
committerhjk <hjk@qt.io>2022-07-13 09:44:09 +0000
commit802de0eb5ee4d29a1e75764880989ba572f6af27 (patch)
tree07ff1a2075d7b51b1b1d647316b9f527522c5470 /src/shared/proparser/prowriter.cpp
parent480da99508094f59366e4066c7cb239c9b36a1ed (diff)
downloadqt-creator-802de0eb5ee4d29a1e75764880989ba572f6af27.tar.gz
Utils: Collapse most of porting,h
Taking the Qt 6 branches, leaving some dummies until downstream adapted. Change-Id: Ib9b86568d73c341c8f740ba497c3cbfab830d8a1 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/shared/proparser/prowriter.cpp')
-rw-r--r--src/shared/proparser/prowriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/proparser/prowriter.cpp b/src/shared/proparser/prowriter.cpp
index 5940142b2b..792400f14b 100644
--- a/src/shared/proparser/prowriter.cpp
+++ b/src/shared/proparser/prowriter.cpp
@@ -181,7 +181,7 @@ QString ProWriter::compileScope(const QString &scope)
if (scope.isEmpty())
return QString();
QMakeParser parser(nullptr, nullptr, nullptr);
- ProFile *includeFile = parser.parsedProBlock(Utils::make_stringview(scope), 0, "no-file", 1);
+ ProFile *includeFile = parser.parsedProBlock(QStringView(scope), 0, "no-file", 1);
if (!includeFile)
return QString();
const QString result = includeFile->items();