Qnx: Check device connection when debugging

Move the device connection verification code from BlackBerryRunControl class
into BlackBerryApplicaitonRunner class.
This will setup a device connection if the device is not connected
when starting debugger.

Task-number: QTCREATORBUG-10309

Change-Id: I57db0e60039bb05f8467e925e71cf710a0712791
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
This commit is contained in:
El Mehdi Fekari
2013-10-08 11:39:44 +02:00
committed by Mehdi Fekari
parent 0b8f3c3e9d
commit 01c8e98d0b
7 changed files with 75 additions and 62 deletions

View File

@@ -51,8 +51,8 @@ BlackBerryDebugSupport::BlackBerryDebugSupport(BlackBerryRunConfiguration *runCo
this, SLOT(handleDebuggerStateChanged(Debugger::DebuggerState)));
connect(m_runner, SIGNAL(started()), this, SLOT(handleStarted()));
connect(m_runner, SIGNAL(started()), m_runner, SLOT(checkSlog2Info()));
connect(m_runner, SIGNAL(startFailed(QString)), this, SLOT(handleStartFailed(QString)));
connect(m_runner, SIGNAL(started()), m_runner, SLOT(checkSlog2Info()));
connect(m_runner, SIGNAL(output(QString,Utils::OutputFormat)),
this, SLOT(handleApplicationOutput(QString,Utils::OutputFormat)));