Maemo: Support QML debugging.

Could not be tested with actual QML project yet.

Reviewed-by: kh1
This commit is contained in:
Christian Kandeler
2010-09-08 16:51:53 +02:00
parent 68f13d3f9a
commit e69588597d
6 changed files with 73 additions and 14 deletions

View File

@@ -191,8 +191,12 @@ void MaemoSshRunner::handleUnmounted()
return;
m_mounter->resetMountSpecifications();
MaemoPortList portList = m_devConfig.freePorts();
if (m_debugging && !m_runConfig->useRemoteGdb())
portList.getNext(); // One has already been used for gdbserver.
if (m_debugging) { // gdbserver and QML inspector need one port each.
if (!m_runConfig->useRemoteGdb())
portList.getNext();
if (m_runConfig->useQmlDebugger())
portList.getNext();
}
m_mounter->setToolchain(m_runConfig->toolchain());
m_mounter->setPortList(portList);
const MaemoRemoteMountsModel * const remoteMounts