iOS: Fix missing URL scheme to fix QML profiling in iOS

Task-number: QTCREATORBUG-19273
Change-Id: Iddf34493b46ed7afcedcc7d987260e7a744e4082
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Vikas Pachdha
2017-11-13 16:14:23 +01:00
committed by Eike Ziller
parent d2b8076fec
commit 8a5c7966c2

View File

@@ -406,6 +406,7 @@ void IosQmlProfilerSupport::start()
QTcpServer server;
QTC_ASSERT(server.listen(QHostAddress::LocalHost)
|| server.listen(QHostAddress::LocalHostIPv6), return);
serverUrl.setScheme(urlTcpScheme());
serverUrl.setHost(server.serverAddress().toString());
Port qmlPort = m_runner->qmlServerPort();