forked from qt-creator/qt-creator
Android: Fix QML debugging
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>
This commit is contained in:
committed by
Eike Ziller
parent
a194b107d6
commit
cdffb378fd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user