QmlProfiler: qmlproject support

Reviewed-by: Kai Koehne
This commit is contained in:
Christiaan Janssen
2011-04-13 10:39:47 +02:00
parent 1df460426b
commit cbfaea1ed3
11 changed files with 226 additions and 35 deletions

View File

@@ -152,6 +152,8 @@ bool QmlRunControlFactory::canRun(RunConfiguration *runConfiguration,
qobject_cast<QmlProjectRunConfiguration*>(runConfiguration);
if (mode == ProjectExplorer::Constants::RUNMODE)
return config != 0 && !config->viewerPath().isEmpty();
else if (mode != Debugger::Constants::DEBUGMODE)
return false;
bool qmlDebugSupportInstalled =
Debugger::DebuggerPlugin::isActiveDebugLanguage(Debugger::QmlLanguage);