forked from qt-creator/qt-creator
Qbs: display native separators for qbs.exe file path.
Change-Id: I979118e3552e75cd3a64c3b600a448e36214b646 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Tobias Hunger
parent
e75620c60d
commit
5c75924d81
@@ -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 *>(
|
||||
|
Reference in New Issue
Block a user