diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2012-04-24 15:49:09 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2012-06-21 12:08:12 +0200 |
commit | 24314562165588b56a318b3b8a846bf5deda7c41 (patch) | |
tree | b5dcf951e76d003c2623011b0e91994e06e7e061 /src/plugins/qt4projectmanager/qt-desktop/desktopqtversion.cpp | |
parent | 8c77b8c9d7b25d0c89003c8c4a54e8da5bfb7edd (diff) | |
download | qt-creator-24314562165588b56a318b3b8a846bf5deda7c41.tar.gz |
Profile introduction
Introduce Profiles to store sets of values that describe a system/device.
These profiles are held by a target, getting rid of much of the information
stored in the Build-/Run-/DeployConfigurations, greatly simplifying those.
This is a squash of the wip/profile branch which has been on gerrit for a
while, rebased to current master.
Change-Id: I25956c8dd4d1962b2134bfaa8a8076ae3909460f
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/qt4projectmanager/qt-desktop/desktopqtversion.cpp')
-rw-r--r-- | src/plugins/qt4projectmanager/qt-desktop/desktopqtversion.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/plugins/qt4projectmanager/qt-desktop/desktopqtversion.cpp b/src/plugins/qt4projectmanager/qt-desktop/desktopqtversion.cpp index 5617070ea4..1c78eeacdd 100644 --- a/src/plugins/qt4projectmanager/qt-desktop/desktopqtversion.cpp +++ b/src/plugins/qt4projectmanager/qt-desktop/desktopqtversion.cpp @@ -84,29 +84,6 @@ QList<ProjectExplorer::Abi> DesktopQtVersion::detectQtAbis() const return qtAbisFromLibrary(qtCorePath(versionInfo(), qtVersionString())); } -bool DesktopQtVersion::supportsTargetId(const Core::Id id) const -{ - using namespace ProjectExplorer; - if (id == Core::Id(Constants::DESKTOP_TARGET_ID)) - return true; - if (id == Core::Id("RemoteLinux.EmbeddedLinuxTarget")) { - foreach (const Abi &abi, qtAbis()) { - switch (abi.os()) { - case Abi::BsdOS: case Abi::LinuxOS: case Abi::MacOS: case Abi::UnixOS: - return true; - default: - break; - } - } - } - return false; -} - -QSet<Core::Id> DesktopQtVersion::supportedTargetIds() const -{ - return QSet<Core::Id>() << Core::Id(Constants::DESKTOP_TARGET_ID); -} - QString DesktopQtVersion::description() const { return QCoreApplication::translate("QtVersion", "Desktop", "Qt Version is meant for the desktop"); |