forked from qt-creator/qt-creator
ProjectExplorer: Use Runnable in DeviceProcess::start
Change-Id: I8ce5b536745db11980f43449a055b7ebf9da83d2 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -102,13 +102,12 @@ void QnxAnalyzeSupport::startExecution()
|
||||
|
||||
setState(StartingRemoteProcess);
|
||||
|
||||
const QStringList args = QStringList()
|
||||
<< QtcProcess::splitArgs(m_runControl->runnable().commandLineArguments)
|
||||
<< QmlDebug::qmlDebugTcpArguments(QmlDebug::QmlProfilerServices, m_qmlPort);
|
||||
|
||||
appRunner()->setEnvironment(m_runnable.environment);
|
||||
appRunner()->setWorkingDirectory(m_runnable.workingDirectory);
|
||||
appRunner()->start(device(), m_runnable.executable, args);
|
||||
StandardRunnable r = m_runnable;
|
||||
if (!r.commandLineArguments.isEmpty())
|
||||
r.commandLineArguments += QLatin1Char(' ');
|
||||
r.commandLineArguments
|
||||
+= QmlDebug::qmlDebugTcpArguments(QmlDebug::QmlProfilerServices, m_qmlPort);
|
||||
appRunner()->start(device(), r);
|
||||
}
|
||||
|
||||
void QnxAnalyzeSupport::handleRemoteProcessFinished(bool success)
|
||||
|
||||
Reference in New Issue
Block a user