forked from qt-creator/qt-creator
iOS: Fixes QML debugging on iOS device
Task-number: QTCREATORBUG-15812 Change-Id: I7c495457961bad89ba3a1ca6a19dcd018c4e3a5b Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -143,8 +143,14 @@ RunControl *IosDebugSupport::createDebugRunControl(IosRunConfiguration *runConfi
|
||||
ProjectExplorer::Constants::TASK_CATEGORY_DEPLOYMENT);
|
||||
}
|
||||
}
|
||||
if (qmlDebug && !cppDebug) {
|
||||
params.startMode = AttachToRemoteServer;
|
||||
|
||||
if (qmlDebug) {
|
||||
QTcpServer server;
|
||||
QTC_ASSERT(server.listen(QHostAddress::LocalHost)
|
||||
|| server.listen(QHostAddress::LocalHostIPv6), return 0);
|
||||
params.qmlServer.host = server.serverAddress().toString();
|
||||
if (!cppDebug)
|
||||
params.startMode = AttachToRemoteServer;
|
||||
}
|
||||
|
||||
DebuggerRunControl *debuggerRunControl = createDebuggerRunControl(params, runConfig, errorMessage);
|
||||
|
Reference in New Issue
Block a user