diff options
author | hjk <[email protected]> | 2019-08-23 11:13:29 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2019-08-26 08:16:03 +0000 |
commit | dca7edbeef1ad622e41987b6cf87d1873ad757e6 (patch) | |
tree | 2b21ea3eb246cfcfc6f91b7ce1043334649e1e5c /src/plugins/ios/iosrunner.cpp | |
parent | 89f3b32104e1094bdb6942c52e1ee0eced2f0c3c (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 <[email protected]>
Diffstat (limited to 'src/plugins/ios/iosrunner.cpp')
-rw-r--r-- | src/plugins/ios/iosrunner.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/ios/iosrunner.cpp b/src/plugins/ios/iosrunner.cpp index 2d4039a6379..21879132ceb 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()); } |