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>
This commit is contained in:
hjk
2022-12-02 12:00:51 +01:00
parent 03525e7d3c
commit d8bd889eee

View File

@@ -40,7 +40,7 @@ private:
QString remoteExe; QString remoteExe;
if (RunConfiguration *rc = target()->activeRunConfiguration()) { if (RunConfiguration *rc = target()->activeRunConfiguration()) {
if (auto exeAspect = rc->aspect<ExecutableAspect>()) if (auto exeAspect = rc->aspect<ExecutableAspect>())
remoteExe = exeAspect->executable().toString(); remoteExe = exeAspect->executable().nativePath();
} }
const QString args = m_makeDefault && !remoteExe.isEmpty() const QString args = m_makeDefault && !remoteExe.isEmpty()
? QStringLiteral("--make-default ") + remoteExe ? QStringLiteral("--make-default ") + remoteExe