From e4bc08fb21c29e2f1b226ca4d73e019681f7bfc6 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 1 Sep 2022 08:07:47 +0200 Subject: [PATCH] RemoteLinux: Fix KillAppStep Was taking .toString() instead of .path() of the executable FilePath. Fixes: QTCREATORBUG-28124 Change-Id: I6286585393593cf97cbb2aeb5dbdd7c48bc95dbc Reviewed-by: Christian Stenger Reviewed-by: --- src/plugins/remotelinux/killappstep.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/remotelinux/killappstep.cpp b/src/plugins/remotelinux/killappstep.cpp index 03d40e31666..a51c4c89b2a 100644 --- a/src/plugins/remotelinux/killappstep.cpp +++ b/src/plugins/remotelinux/killappstep.cpp @@ -133,7 +133,7 @@ KillAppStep::KillAppStep(BuildStepList *bsl, Id id) Target * const theTarget = target(); QTC_ASSERT(theTarget, return CheckResult::failure()); RunConfiguration * const rc = theTarget->activeRunConfiguration(); - const QString remoteExe = rc ? rc->runnable().command.executable().toString() : QString(); + const QString remoteExe = rc ? rc->runnable().command.executable().path() : QString(); service->setRemoteExecutable(remoteExe); return CheckResult::success(); });