aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ios
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-08-23 11:13:29 +0200
committerhjk <hjk@qt.io>2019-08-26 08:16:03 +0000
commitdca7edbeef1ad622e41987b6cf87d1873ad757e6 (patch)
tree2b21ea3eb246cfcfc6f91b7ce1043334649e1e5c /src/plugins/ios
parent89f3b32104e1094bdb6942c52e1ee0eced2f0c3c (diff)
Let PortsGatherer produce full URLs instead of ports only
This is what the consuming code expects in most cases. Change-Id: I135592039e28b994996186f627215ab1d2f8d6dc Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/ios')
-rw-r--r--src/plugins/ios/iosrunner.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/ios/iosrunner.cpp b/src/plugins/ios/iosrunner.cpp
index 2d4039a637..21879132ce 100644
--- a/src/plugins/ios/iosrunner.cpp
+++ b/src/plugins/ios/iosrunner.cpp
@@ -199,8 +199,11 @@ void IosRunner::start()
this, &IosRunner::handleFinished);
QStringList args = QtcProcess::splitArgs(m_arguments, OsTypeMac);
- if (m_qmlServerPort.isValid())
- args.append(QmlDebug::qmlDebugTcpArguments(m_qmlDebugServices, m_qmlServerPort));
+ if (m_qmlServerPort.isValid()) {
+ QUrl qmlServer;
+ qmlServer.setPort(m_qmlServerPort.number());
+ args.append(QmlDebug::qmlDebugTcpArguments(m_qmlDebugServices, qmlServer));
+ }
m_toolHandler->requestRunApp(bundlePath(), args, runType(), deviceId());
}