summaryrefslogtreecommitdiff
path: root/src/plugins/qtsupport/qmldumptool.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-10-19 12:36:06 +0200
committerKai Koehne <kai.koehne@nokia.com>2011-10-19 13:34:35 +0200
commitc652d3ba637a5edaf345f53b8a2880e1cb46e985 (patch)
tree02794b5c3ee920db0fbddddde59f8d0057922011 /src/plugins/qtsupport/qmldumptool.cpp
parente2b911b41a7db15f3e3d5da11745e5899fbe8d0f (diff)
downloadqt-creator-c652d3ba637a5edaf345f53b8a2880e1cb46e985.tar.gz
QtOptionsPage: Don't build qml helpers for 4.8
They're not required any more. Change-Id: If55d835600ea0ddf6b6b54f8fdd88e2025fc17be Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/qtsupport/qmldumptool.cpp')
-rw-r--r--src/plugins/qtsupport/qmldumptool.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/qtsupport/qmldumptool.cpp b/src/plugins/qtsupport/qmldumptool.cpp
index ec8f8e247f..93d2e6c220 100644
--- a/src/plugins/qtsupport/qmldumptool.cpp
+++ b/src/plugins/qtsupport/qmldumptool.cpp
@@ -209,6 +209,12 @@ bool QmlDumpTool::canBuild(const BaseQtVersion *qtVersion, QString *reason)
*reason = QCoreApplication::translate("Qt4ProjectManager::QmlDumpTool", "Only available for Qt 4.7.1 or newer.");
return false;
}
+ if (qtVersion->qtVersion() >= QtVersionNumber(4, 8, 0)) {
+ if (reason)
+ *reason = QCoreApplication::translate("Qt4ProjectManager::QmlDumpTool", "Not needed.");
+ return false;
+ }
+
if (!hasPrivateHeaders(installHeaders)) {
if (reason)