aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-12-02 12:00:51 +0100
committerhjk <hjk@qt.io>2022-12-02 14:33:38 +0000
commitd8bd889eee25349b1a72da1379d6cb3e91503786 (patch)
tree43a6491fc0edcfccc9542f14d578b142a7af7f2e
parent03525e7d3c4dd36d6ff6f5c60e57d8f69e7af543 (diff)
Boot2Qt: Pass remote only path component of remote application
... as argument to appcontroller. The appcontroler is already "on the device"... Change-Id: I9d0a16c8161a0594be114374df2c3603206db837 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r--src/plugins/boot2qt/qdbmakedefaultappstep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/boot2qt/qdbmakedefaultappstep.cpp b/src/plugins/boot2qt/qdbmakedefaultappstep.cpp
index 6041a77adc..96e8c567fe 100644
--- a/src/plugins/boot2qt/qdbmakedefaultappstep.cpp
+++ b/src/plugins/boot2qt/qdbmakedefaultappstep.cpp
@@ -40,7 +40,7 @@ private:
QString remoteExe;
if (RunConfiguration *rc = target()->activeRunConfiguration()) {
if (auto exeAspect = rc->aspect<ExecutableAspect>())
- remoteExe = exeAspect->executable().toString();
+ remoteExe = exeAspect->executable().nativePath();
}
const QString args = m_makeDefault && !remoteExe.isEmpty()
? QStringLiteral("--make-default ") + remoteExe