forked from qt-creator/qt-creator
BlackBerry: Fixed running when only QML debugging is selected
The -debugNative parameter should only be passed to blackberry-deploy when C++ debugging is enabled. Task-number: QTCREATORBUG-11460 Change-Id: I3dba64bb57211f1c6d6b972e8afe5fa77451fb7c Reviewed-by: Mehdi Fekari <mfekari@blackberry.com> Reviewed-by: Fanda Vacek <fvacek@blackberry.com> Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
This commit is contained in:
committed by
Tobias Nätterlund
parent
7954c19d5d
commit
cb66d1ec23
@@ -44,7 +44,8 @@ BlackBerryDebugSupport::BlackBerryDebugSupport(BlackBerryRunConfiguration *runCo
|
||||
: QObject(runControl->engine())
|
||||
, m_engine(runControl->engine())
|
||||
{
|
||||
m_runner = new BlackBerryApplicationRunner(true, runConfig, this);
|
||||
const bool cppDebugMode = m_engine->startParameters().languages & Debugger::CppLanguage;
|
||||
m_runner = new BlackBerryApplicationRunner(cppDebugMode, runConfig, this);
|
||||
|
||||
connect(m_engine, SIGNAL(requestRemoteSetup()), this, SLOT(launchRemoteApplication()));
|
||||
connect(m_engine, SIGNAL(stateChanged(Debugger::DebuggerState)),
|
||||
|
||||
Reference in New Issue
Block a user