QML Observer: Complain about not having it if debugging .qmlprojects

Reviewed-by: hjk
This commit is contained in:
Lasse Holmstedt
2010-09-28 17:26:27 +02:00
parent 96d991bbdc
commit 89443cfb1f
11 changed files with 94 additions and 5 deletions

View File

@@ -46,6 +46,7 @@
#include <QDir>
#include <QLabel>
#include <QMessageBox>
using ProjectExplorer::RunConfiguration;
using ProjectExplorer::RunControl;
@@ -179,6 +180,7 @@ ProjectExplorer::RunControl *QmlRunControlFactory::createDebugRunControl(QmlProj
params.executable = runConfig->viewerPath();
params.qmlServerAddress = "127.0.0.1";
params.qmlServerPort = runConfig->qmlDebugServerPort();
params.qmlObserverAvailable = runConfig->qmlObserverAvailable();
params.processArgs = runConfig->viewerArguments();
params.processArgs.append(QLatin1String("-qmljsdebugger=port:") + QString::number(runConfig->qmlDebugServerPort()));
params.workingDirectory = runConfig->workingDirectory();