Debugger: Use dedicated structure for Qml server parameters

The main idea is to start using ProjectExplorer::Connection later.

Change-Id: Ie91eacdfb0e93ae142fec7ce32bcf554a5282122
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2016-06-13 14:18:50 +02:00
parent 7e8d9835f7
commit 78a800cb34
9 changed files with 33 additions and 25 deletions

View File

@@ -114,7 +114,7 @@ RunControl *AndroidDebugSupport::createDebugRunControl(AndroidRunConfiguration *
QTcpServer server;
QTC_ASSERT(server.listen(QHostAddress::LocalHost)
|| server.listen(QHostAddress::LocalHostIPv6), return 0);
params.qmlServerAddress = server.serverAddress().toString();
params.qmlServer.host = server.serverAddress().toString();
//TODO: Not sure if these are the right paths.
Kit *kit = target->kit();
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(kit);