forked from qt-creator/qt-creator
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user