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

@@ -169,7 +169,7 @@ bool MaemoRunControlFactory::canRun(RunConfiguration *runConfiguration,
const int mountDirCount
= maemoRunConfig->remoteMounts()->validMountSpecificationCount();
if (mode == ProjectExplorer::Constants::DEBUGMODE)
return freePortCount > mountDirCount;
return freePortCount > mountDirCount + runConfiguration->useQmlDebugger();
if (mode == ProjectExplorer::Constants::RUNMODE)
return freePortCount >= mountDirCount;
return false;