Skip to content

Commit 0fea9e0

Browse files
committed
Fix a typo in "QT_INSTALL_QML" key usage (removing extra space)
The key with a space at the end does not seem to exists neither in my testing environment (container reproducing current travis.yml file) nor on my main system.
1 parent a1a4923 commit 0fea9e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shared/shared.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,9 +1076,9 @@ bool deployQmlImports(const QString &appDirPath, DeploymentInfo deploymentInfo,
10761076
}
10771077

10781078
argumentList.append( "-importPath");
1079-
argumentList.append(qtToBeBundledInfo.value("QT_INSTALL_QML "));
1079+
argumentList.append(qtToBeBundledInfo.value("QT_INSTALL_QML"));
10801080

1081-
LogDebug() << "qmlImportsPath (QT_INSTALL_QML):" << qtToBeBundledInfo.value("QT_INSTALL_QML ");
1081+
LogDebug() << "qmlImportsPath (QT_INSTALL_QML):" << qtToBeBundledInfo.value("QT_INSTALL_QML");
10821082

10831083
// run qmlimportscanner
10841084
QProcess qmlImportScanner;
@@ -1165,7 +1165,7 @@ bool deployQmlImports(const QString &appDirPath, DeploymentInfo deploymentInfo,
11651165
if (deploymentInfo.deployedLibraries.contains("QtWidgets") && qtQuickContolsInUse) {
11661166
LogNormal() << "Deploying QML import QtQuick/PrivateWidgets";
11671167
QString name = "QtQuick/PrivateWidgets";
1168-
QString path = qtToBeBundledInfo.value("QT_INSTALL_QML ") + QLatin1Char('/') + name;
1168+
QString path = qtToBeBundledInfo.value("QT_INSTALL_QML") + QLatin1Char('/') + name;
11691169
deployQmlImport(appDirPath, deploymentInfo.rpathsUsed, path, name);
11701170
LogNormal() << "";
11711171
}

0 commit comments

Comments
 (0)