summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2017-01-11 14:18:19 +0100
committerTobias Hunger <tobias.hunger@qt.io>2017-01-16 10:17:42 +0000
commit4416eecc024e155438c7ed6399182dbff143bd0d (patch)
treecba053f5e0c5e105723920a0c9f69ad448a2a32b /src
parent2ab5561b9aac005bc9985ffeffb7e621a55b3bdd (diff)
downloadqt-creator-4416eecc024e155438c7ed6399182dbff143bd0d.tar.gz
QtSupport: Remove legacy code
Change-Id: Ie7578d34466fb6c4d2f7e77e513caec253e7c813 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/qtsupport/qtkitinformation.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/plugins/qtsupport/qtkitinformation.cpp b/src/plugins/qtsupport/qtkitinformation.cpp
index 6589e1496d..00410ed3d9 100644
--- a/src/plugins/qtsupport/qtkitinformation.cpp
+++ b/src/plugins/qtsupport/qtkitinformation.cpp
@@ -64,17 +64,6 @@ QVariant QtKitInformation::defaultValue(const Kit *k) const
if (result)
return result->uniqueId();
- // Legacy: Check for system qmake path: Remove in 3.5 (or later):
- // This check is expensive as it will potentially run binaries (qmake --version)!
- const FileName qmakePath
- = BuildableHelperLibrary::findSystemQt(Utils::Environment::systemEnvironment());
-
- if (!qmakePath.isEmpty()) {
- result = findOrDefault(versionList, equal(&BaseQtVersion::qmakeCommand, qmakePath));
- if (result)
- return result->uniqueId();
- }
-
// Use *any* desktop Qt:
result = findOrDefault(versionList, equal(&BaseQtVersion::type,
QString::fromLatin1(QtSupport::Constants::DESKTOPQT)));