forked from qt-creator/qt-creator
iOS: Avoid use of RunControl::runConfiguration() in QmlProfiler support
Change-Id: Id296ddb364c7503506e32c01d594cdca15715859 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -387,14 +387,6 @@ IosQmlProfilerSupport::IosQmlProfilerSupport(RunControl *runControl)
|
|||||||
{
|
{
|
||||||
setId("IosQmlProfilerSupport");
|
setId("IosQmlProfilerSupport");
|
||||||
|
|
||||||
auto iosRunConfig = qobject_cast<IosRunConfiguration *>(runControl->runConfiguration());
|
|
||||||
Runnable runnable;
|
|
||||||
runnable.executable = iosRunConfig->localExecutable();
|
|
||||||
runnable.commandLineArguments =
|
|
||||||
runControl->aspect<ArgumentsAspect>()->arguments(iosRunConfig->macroExpander());
|
|
||||||
runControl->setDisplayName(iosRunConfig->applicationName());
|
|
||||||
runControl->setRunnable(runnable);
|
|
||||||
|
|
||||||
m_runner = new IosRunner(runControl);
|
m_runner = new IosRunner(runControl);
|
||||||
m_runner->setQmlDebugging(QmlDebug::QmlProfilerServices);
|
m_runner->setQmlDebugging(QmlDebug::QmlProfilerServices);
|
||||||
addStartDependency(m_runner);
|
addStartDependency(m_runner);
|
||||||
|
|||||||
Reference in New Issue
Block a user