forked from qt-creator/qt-creator
QmlDump: Get right Qt version for .qmlproject
We're using a QObject property to get the Qt Version Id: QmlDumpTool is in Qt4ProjectManager, which shouldn't have a dependency to QmlProjectManager. Reviewed-by: Christian Kamm
This commit is contained in:
@@ -62,6 +62,9 @@ class QMLPROJECTMANAGER_EXPORT QmlProjectRunConfiguration : public ProjectExplor
|
||||
Q_OBJECT
|
||||
friend class Internal::QmlProjectRunConfigurationFactory;
|
||||
|
||||
// used in qmldumptool.cpp
|
||||
Q_PROPERTY(int qtVersionId READ qtVersionId)
|
||||
|
||||
public:
|
||||
QmlProjectRunConfiguration(Internal::QmlProjectTarget *parent);
|
||||
virtual ~QmlProjectRunConfiguration();
|
||||
@@ -74,6 +77,7 @@ public:
|
||||
QString observerPath() const;
|
||||
QStringList viewerArguments() const;
|
||||
QString workingDirectory() const;
|
||||
int qtVersionId() const;
|
||||
Qt4ProjectManager::QtVersion *qtVersion() const;
|
||||
|
||||
// RunConfiguration
|
||||
|
||||
Reference in New Issue
Block a user