summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2015-04-28 20:27:19 -0700
committerTobias Hunger <tobias.hunger@theqtcompany.com>2015-04-29 07:33:04 +0000
commit5c75924d8189e36469608b4c3113df18d9b288d2 (patch)
tree3d9832c4c3b21d85c75d87b8ebbfd5fec4a27379
parente75620c60d4e55b167dce16016e4d8d63a792c49 (diff)
downloadqt-creator-5c75924d8189e36469608b4c3113df18d9b288d2.tar.gz
Qbs: display native separators for qbs.exe file path.
Change-Id: I979118e3552e75cd3a64c3b600a448e36214b646 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
-rw-r--r--src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp b/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp
index d7fdac80f7..6b311410ff 100644
--- a/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp
+++ b/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp
@@ -283,7 +283,7 @@ QString QbsBuildConfiguration::equivalentCommandLine(const BuildStep *buildStep)
const QString qbsFilePath = Utils::HostOsInfo::withExecutableSuffix(!qbsInstallDir.isEmpty()
? qbsInstallDir + QLatin1String("/bin/qbs")
: QCoreApplication::applicationDirPath() + QLatin1String("/qbs"));
- Utils::QtcProcess::addArg(&commandLine, qbsFilePath);
+ Utils::QtcProcess::addArg(&commandLine, QDir::toNativeSeparators(qbsFilePath));
const StepProxy stepProxy(buildStep);
Utils::QtcProcess::addArg(&commandLine, stepProxy.command());
const QbsBuildConfiguration * const buildConfig = qobject_cast<QbsBuildConfiguration *>(