ProjectExplorer: Use Utils::FileName in ProcessParameters

For the command and the working directory.

Change-Id: Ia69dc7100aeb57bb6e1b35f4dd4f3cf3763d8cda
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-05-15 13:59:43 +02:00
parent d1f9e466da
commit 9433b8a7e7
29 changed files with 129 additions and 101 deletions

View File

@@ -173,7 +173,7 @@ bool MakeInstallStep::cleanInstallRoot() const
void MakeInstallStep::updateCommandFromAspect()
{
setMakeCommand(aspect<ExecutableAspect>()->executable().toString());
setMakeCommand(aspect<ExecutableAspect>()->executable());
updateFullCommandLine();
}
@@ -188,7 +188,8 @@ void MakeInstallStep::updateArgsFromAspect()
void MakeInstallStep::updateFullCommandLine()
{
static_cast<BaseStringAspect *>(aspect(FullCommandLineAspectId))->setValue(
QDir::toNativeSeparators(QtcProcess::quoteArg(effectiveMakeCommand()))
QDir::toNativeSeparators(
QtcProcess::quoteArg(effectiveMakeCommand().toString()))
+ ' ' + userArguments());
}