forked from qt-creator/qt-creator
Maemo: Use dynamic port list.
Check whether the ports we need are actually available on the device. As a side effect, this makes it possible to debug more than one application at the same time on Maemo. Task-number: QTCREATORBUG-2702
This commit is contained in:
@@ -282,8 +282,10 @@ void QmlEngine::runEngine()
|
||||
showMessage(tr("QML Debugger connecting..."), StatusBar);
|
||||
}
|
||||
|
||||
void QmlEngine::handleRemoteSetupDone()
|
||||
void QmlEngine::handleRemoteSetupDone(int port)
|
||||
{
|
||||
if (port != -1)
|
||||
startParameters().qmlServerPort = port;
|
||||
notifyInferiorSetupOk();
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ public:
|
||||
explicit QmlEngine(const DebuggerStartParameters &startParameters);
|
||||
virtual ~QmlEngine();
|
||||
|
||||
void handleRemoteSetupDone();
|
||||
void handleRemoteSetupDone(int port);
|
||||
void handleRemoteSetupFailed(const QString &message);
|
||||
|
||||
void setAttachToRunningExternalApp(bool value);
|
||||
|
||||
Reference in New Issue
Block a user