summaryrefslogtreecommitdiffstats
path: root/src/tools/windeployqt/qmlutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/windeployqt/qmlutils.cpp')
-rw-r--r--src/tools/windeployqt/qmlutils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/windeployqt/qmlutils.cpp b/src/tools/windeployqt/qmlutils.cpp
index 6eebf6d86e7..f51462b2df4 100644
--- a/src/tools/windeployqt/qmlutils.cpp
+++ b/src/tools/windeployqt/qmlutils.cpp
@@ -48,9 +48,9 @@ bool operator==(const QmlImportScanResult::Module &m1, const QmlImportScanResult
QString QmlImportScanResult::Module::installPath(const QString &root) const
{
QString result = root;
- const int lastSlashPos = relativePath.lastIndexOf(QLatin1Char('/'));
+ const qsizetype lastSlashPos = relativePath.lastIndexOf(u'/');
if (lastSlashPos != -1) {
- result += QLatin1Char('/');
+ result += u'/';
result += QStringView{relativePath}.left(lastSlashPos);
}
return result;
@@ -121,7 +121,7 @@ QmlImportScanResult runQmlImportScanner(const QString &directory, const QStringL
if (data.isNull() ) {
*errorMessage = binary + QStringLiteral(" returned invalid JSON output: ")
+ jsonParseError.errorString() + QStringLiteral(" :\"")
- + QString::fromLocal8Bit(stdOut) + QLatin1Char('"');
+ + QString::fromLocal8Bit(stdOut) + u'"';
return result;
}
const QJsonArray array = data.array();