Enable starting a qmlproject via Debug

This will right now wait for a qmldebugger connection.
This commit is contained in:
Kai Koehne
2009-12-17 09:54:16 +01:00
parent dc26b1e214
commit 7900ec6da2
2 changed files with 39 additions and 7 deletions

View File

@@ -146,6 +146,7 @@ public:
QString viewerPath() const;
QStringList viewerArguments() const;
QString workingDirectory() const;
uint debugServerPort() const;
// RunConfiguration
virtual QString type() const;
@@ -159,9 +160,11 @@ private Q_SLOTS:
void setMainScript(const QString &scriptFile);
void onQmlViewerChanged();
void onQmlViewerArgsChanged();
void onDebugServerPortChanged();
private:
QmlProject *m_project;
uint m_debugServerPort;
QString m_scriptFile;
QString m_qmlViewerCustomPath;
QString m_qmlViewerDefaultPath;
@@ -196,7 +199,7 @@ private:
class QmlRunControl : public ProjectExplorer::RunControl {
Q_OBJECT
public:
explicit QmlRunControl(QmlRunConfiguration *runConfiguration);
explicit QmlRunControl(QmlRunConfiguration *runConfiguration, bool debugMode);
virtual ~QmlRunControl ();
// RunControl