diff options
author | Vikas Pachdha <vikas.pachdha@qt.io> | 2017-08-15 13:38:09 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2017-08-15 14:40:25 +0000 |
commit | cdffb378fd41438e3c43b17f82bb090c7d58f54e (patch) | |
tree | 7f0004b3a1a624bff1d4591aabb2174f266fdfbe /src/plugins/debugger/qml/qmlengine.cpp | |
parent | a194b107d6bced6ceebde548d2f492988b447ab2 (diff) |
Android: Fix QML debuggingv4.4.0-rc1
Specify the qml server address and use correct default loop back
address in qmlengine
Change-Id: I9b77cb3385041bbe79900e7f7a188ca26124bacc
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/debugger/qml/qmlengine.cpp')
-rw-r--r-- | src/plugins/debugger/qml/qmlengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp index 10e6d4f3b2..4dc8280851 100644 --- a/src/plugins/debugger/qml/qmlengine.cpp +++ b/src/plugins/debugger/qml/qmlengine.cpp @@ -427,7 +427,7 @@ void QmlEngine::beginConnection(Utils::Port port) QString host = runParameters().qmlServer.host; // Use localhost as default if (host.isEmpty()) - host = "localhost"; + host = QHostAddress(QHostAddress::LocalHost).toString(); /* * Let plugin-specific code override the port printed by the application. This is necessary |