forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -57,16 +57,12 @@ RemoteLinuxQmlToolingSupport::RemoteLinuxQmlToolingSupport(
|
||||
|
||||
void RemoteLinuxQmlToolingSupport::start()
|
||||
{
|
||||
Port qmlPort = m_portsGatherer->findPort();
|
||||
const QUrl serverUrl = m_portsGatherer->findEndPoint();
|
||||
|
||||
QUrl serverUrl;
|
||||
serverUrl.setScheme(urlTcpScheme());
|
||||
serverUrl.setHost(device()->sshParameters().host());
|
||||
serverUrl.setPort(qmlPort.number());
|
||||
m_runworker->recordData("QmlServerUrl", serverUrl);
|
||||
|
||||
Runnable r = runnable();
|
||||
QtcProcess::addArg(&r.commandLineArguments, QmlDebug::qmlDebugTcpArguments(m_services, qmlPort),
|
||||
QtcProcess::addArg(&r.commandLineArguments, QmlDebug::qmlDebugTcpArguments(m_services, serverUrl),
|
||||
device()->osType());
|
||||
|
||||
setRunnable(r);
|
||||
|
||||
Reference in New Issue
Block a user