diff options
author | dt <qtc-committer@nokia.com> | 2011-05-04 13:14:46 +0200 |
---|---|---|
committer | dt <qtc-committer@nokia.com> | 2011-05-12 12:23:06 +0200 |
commit | 8e171e0be0239c18843fc65784cb91120b252c8f (patch) | |
tree | 06900feae14b15b3897fff193cf36dbd44bad8b3 /src/plugins/qt4projectmanager/qt4buildconfiguration.h | |
parent | 9ef4ea40f27befa4b5b553c3dfa94d979a34748c (diff) | |
download | qt-creator-8e171e0be0239c18843fc65784cb91120b252c8f.tar.gz |
Qt Version refactoring
Split up target specific code into subclasses. Also change
Qt4BuildConfiguration to allow a null qtversion.
Remove code that relied on always having a qt version.
Also make it possible to remove all qt versions.
Completly change the qt in path autodetection to be only
a fall back if no configuration was found.
Note: For now the old settings are not removed, as such 2.2 and master
can coexist.
Reviewed-By: hunger
Diffstat (limited to 'src/plugins/qt4projectmanager/qt4buildconfiguration.h')
-rw-r--r-- | src/plugins/qt4projectmanager/qt4buildconfiguration.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/qt4projectmanager/qt4buildconfiguration.h b/src/plugins/qt4projectmanager/qt4buildconfiguration.h index 3bf88ec4d4..18355a88d0 100644 --- a/src/plugins/qt4projectmanager/qt4buildconfiguration.h +++ b/src/plugins/qt4projectmanager/qt4buildconfiguration.h @@ -75,13 +75,13 @@ public: Qt4ProjectManager::Internal::Qt4ProFileNode *subNodeBuild() const; // returns the qtVersion - QtVersion *qtVersion() const; - void setQtVersion(QtVersion *); + BaseQtVersion *qtVersion() const; + void setQtVersion(BaseQtVersion *); void setToolChain(ProjectExplorer::ToolChain *tc); - QtVersion::QmakeBuildConfigs qmakeBuildConfiguration() const; - void setQMakeBuildConfiguration(QtVersion::QmakeBuildConfigs config); + BaseQtVersion::QmakeBuildConfigs qmakeBuildConfiguration() const; + void setQMakeBuildConfiguration(BaseQtVersion::QmakeBuildConfigs config); /// \internal for qmakestep // used by qmake step to notify that the qmake args have changed @@ -112,7 +112,7 @@ public: bool compareToImportFrom(const QString &makefile); static void removeQMLInspectorFromArguments(QString *args); static QString extractSpecFromArguments(QString *arguments, - const QString &directory, const QtVersion *version, + const QString &directory, const BaseQtVersion *version, QStringList *outArgs = 0); QVariantMap toMap() const; @@ -165,7 +165,7 @@ private: QString m_buildDirectory; QString m_lastEmmitedBuildDirectory; int m_qtVersionId; - QtVersion::QmakeBuildConfigs m_qmakeBuildConfiguration; + BaseQtVersion::QmakeBuildConfigs m_qmakeBuildConfiguration; Qt4ProjectManager::Internal::Qt4ProFileNode *m_subNodeBuild; }; |