diff options
author | hjk <hjk@qt.io> | 2019-05-15 13:59:43 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-05-15 12:55:22 +0000 |
commit | 9433b8a7e78cfbe13a3dfe4ad489c4329a701b47 (patch) | |
tree | 3d2c2b60960a212cb8387165b7c92746e3caab29 /src/plugins/remotelinux | |
parent | d1f9e466daf369969bc0dae8c14914ed79c3acb5 (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.cpp | 5 |
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()); } |