forked from qt-creator/qt-creator
iOS: Adapt to introduction of ProjectExplorer::ToolRunner
Change-Id: I53201edb58485c697c8c56db68ddefd3cf107193 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -51,14 +51,15 @@ using namespace ProjectExplorer;
|
||||
namespace Ios {
|
||||
namespace Internal {
|
||||
|
||||
IosRunner::IosRunner(QObject *parent, IosRunConfiguration *runConfig, bool cppDebug,
|
||||
IosRunner::IosRunner(QObject *parent, RunControl *runControl, bool cppDebug,
|
||||
QmlDebug::QmlDebugServicesPreset qmlDebugServices)
|
||||
: QObject(parent), m_toolHandler(0), m_bundleDir(runConfig->bundleDirectory().toString()),
|
||||
m_arguments(runConfig->commandLineArguments()),
|
||||
m_device(DeviceKitInformation::device(runConfig->target()->kit())),
|
||||
m_cppDebug(cppDebug), m_qmlDebugServices(qmlDebugServices), m_cleanExit(false),
|
||||
m_pid(0)
|
||||
: QObject(parent),
|
||||
m_cppDebug(cppDebug), m_qmlDebugServices(qmlDebugServices)
|
||||
{
|
||||
auto runConfig = qobject_cast<IosRunConfiguration *>(runControl->runConfiguration());
|
||||
m_bundleDir = runConfig->bundleDirectory().toString();
|
||||
m_arguments = QStringList(runConfig->commandLineArguments());
|
||||
m_device = DeviceKitInformation::device(runConfig->target()->kit());
|
||||
m_deviceType = runConfig->deviceType();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user