iOS: Fix QML Profiling on Simulator and iOS < 17 devices

Amends 21661db604
after which we have to explicitly request the QML channel.

Change-Id: I63f867ea59afa529ae9c02595f6c46cb633b8e46
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Eike Ziller
2025-04-28 13:37:40 +02:00
parent 80c348d00a
commit a2fda5c048

View File

@@ -822,6 +822,7 @@ IosQmlProfilerSupport::IosQmlProfilerSupport(RunControl *runControl)
m_runner = new IosRunner(runControl); m_runner = new IosRunner(runControl);
m_runner->setQmlDebugging(QmlProfilerServices); m_runner->setQmlDebugging(QmlProfilerServices);
runControl->requestQmlChannel();
addStartDependency(m_runner); addStartDependency(m_runner);
m_profiler = runControl->createWorker(ProjectExplorer::Constants::QML_PROFILER_RUNNER); m_profiler = runControl->createWorker(ProjectExplorer::Constants::QML_PROFILER_RUNNER);