QmlDebugger: Fix Remote QML Debugging

The host address is now retreived from the kit info.
Incase, a device is not associated with the given kit,
the host is assumed to be localhost.

Change-Id: I659d2d64ec78dc1b10c80c97390994a56ff26344
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Aurindam Jana
2012-11-06 15:46:19 +01:00
committed by Kai Koehne
parent 492ca1cbcf
commit 86c14292d2
2 changed files with 8 additions and 3 deletions

View File

@@ -1759,6 +1759,7 @@ void DebuggerPluginPrivate::attachToQmlPort()
sp.startMode = AttachToRemoteProcess;
sp.closeMode = KillAtClose;
sp.languages = QmlLanguage;
sp.masterEngineType = QmlEngineType;
//
// get files from all the projects in the session