Maemo: Support QML-only debugging.

Reviewed-by: kh1
This commit is contained in:
Christian Kandeler
2010-09-16 17:08:07 +02:00
parent 82f4e73c7b
commit ae4c35bd86
12 changed files with 158 additions and 89 deletions

View File

@@ -192,7 +192,7 @@ void MaemoSshRunner::handleUnmounted()
m_mounter->resetMountSpecifications();
MaemoPortList portList = m_devConfig.freePorts();
if (m_debugging) { // gdbserver and QML inspector need one port each.
if (!m_runConfig->useRemoteGdb())
if (m_runConfig->useCppDebugger() && !m_runConfig->useRemoteGdb())
portList.getNext();
if (m_runConfig->useQmlDebugger())
portList.getNext();