QmlDebug: Enable 'What are the prerequisites?' link in run configuration

DebuggerLanguageChooser is in utils, which is why we cannot directly open
the URL in the help plugin.
This commit is contained in:
Kai Koehne
2011-02-24 14:58:37 +01:00
parent 3930450efb
commit 5d615f7fbf
7 changed files with 21 additions and 2 deletions

View File

@@ -37,6 +37,7 @@
#include "project.h"
#include "environmentwidget.h"
#include <coreplugin/helpmanager.h>
#include <utils/detailswidget.h>
#include <utils/environment.h>
#include <utils/pathchooser.h>
@@ -49,6 +50,7 @@
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
namespace ProjectExplorer {
namespace Internal {
@@ -166,6 +168,8 @@ CustomExecutableConfigurationWidget::CustomExecutableConfigurationWidget(CustomE
this, SLOT(useQmlDebuggerToggled(bool)));
connect(m_debuggerLanguageChooser, SIGNAL(qmlDebugServerPortChanged(uint)),
this, SLOT(qmlDebugServerPortChanged(uint)));
connect(m_debuggerLanguageChooser, SIGNAL(openHelpUrl(QString)),
Core::HelpManager::instance(), SLOT(handleHelpRequest(QString)));
connect(m_runConfiguration, SIGNAL(changed()), this, SLOT(changed()));