From 24314562165588b56a318b3b8a846bf5deda7c41 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Tue, 24 Apr 2012 15:49:09 +0200 Subject: 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 --- .../qt-desktop/desktopqtversion.cpp | 23 ---------------------- 1 file changed, 23 deletions(-) (limited to 'src/plugins/qt4projectmanager/qt-desktop/desktopqtversion.cpp') 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 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 DesktopQtVersion::supportedTargetIds() const -{ - return QSet() << Core::Id(Constants::DESKTOP_TARGET_ID); -} - QString DesktopQtVersion::description() const { return QCoreApplication::translate("QtVersion", "Desktop", "Qt Version is meant for the desktop"); -- cgit v1.2.1