Maemo: Fix QML debugging.

In general, at least. Does not actually stop at breakpoints yet.
This commit is contained in:
Christian Kandeler
2011-02-11 16:02:41 +01:00
parent ef800d296f
commit f08e42f9ec
4 changed files with 18 additions and 8 deletions

View File

@@ -197,7 +197,7 @@ void QmlEngine::setupInferior()
QTC_ASSERT(state() == InferiorSetupRequested, qDebug() << state());
if (startParameters().startMode == AttachToRemote) {
requestRemoteSetup();
emit requestRemoteSetup();
} else {
connect(&d->m_applicationLauncher,
SIGNAL(processExited(int)),
@@ -311,10 +311,11 @@ void QmlEngine::stopApplicationLauncher()
}
}
void QmlEngine::handleRemoteSetupDone(int port)
void QmlEngine::handleRemoteSetupDone(int gdbServerPort, int qmlPort)
{
if (port != -1)
startParameters().qmlServerPort = port;
Q_UNUSED(gdbServerPort);
if (qmlPort != -1)
startParameters().qmlServerPort = qmlPort;
notifyInferiorSetupOk();
}