aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/remotelinux
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-05-15 13:59:43 +0200
committerhjk <hjk@qt.io>2019-05-15 12:55:22 +0000
commit9433b8a7e78cfbe13a3dfe4ad489c4329a701b47 (patch)
tree3d2c2b60960a212cb8387165b7c92746e3caab29 /src/plugins/remotelinux
parentd1f9e466daf369969bc0dae8c14914ed79c3acb5 (diff)
ProjectExplorer: Use Utils::FileName in ProcessParameters
For the command and the working directory. Change-Id: Ia69dc7100aeb57bb6e1b35f4dd4f3cf3763d8cda Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/remotelinux')
-rw-r--r--src/plugins/remotelinux/makeinstallstep.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/remotelinux/makeinstallstep.cpp b/src/plugins/remotelinux/makeinstallstep.cpp
index 2980ea5ad02..7375de150c0 100644
--- a/src/plugins/remotelinux/makeinstallstep.cpp
+++ b/src/plugins/remotelinux/makeinstallstep.cpp
@@ -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());
}