summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@theqtcompany.com>2015-06-15 14:55:24 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-06-24 08:21:32 +0000
commit5f0e1d9ff657b455b991c6ac39e78cbb7d424a8b (patch)
tree34e42b996214ab9c2963781a416ed44aaedf18a8
parentf06482ca7f36d18f433aa9509521ee57dbb2b471 (diff)
downloadqt-creator-5f0e1d9ff657b455b991c6ac39e78cbb7d424a8b.tar.gz
QmlProfilerTool: Don't check for pre 4.7.4 qt versions anymore
Those positevly stone old. Everyone using Qt 4 should be on at least 4.8. Change-Id: I71e0edc38bb8bb39a40919920ab4de90cf09b09e Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
-rw-r--r--src/plugins/qmlprofiler/qmlprofilertool.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertool.cpp b/src/plugins/qmlprofiler/qmlprofilertool.cpp
index 2ea39855a0..766faf0ed9 100644
--- a/src/plugins/qmlprofiler/qmlprofilertool.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilertool.cpp
@@ -188,23 +188,6 @@ AnalyzerRunControl *QmlProfilerTool::createRunControl(const AnalyzerStartParamet
bool isTcpConnection = true;
- if (runConfiguration) {
- // Check minimum Qt Version. We cannot really be sure what the Qt version
- // at runtime is, but guess that the active build configuraiton has been used.
- QtSupport::QtVersionNumber minimumVersion(4, 7, 4);
- QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(runConfiguration->target()->kit());
- if (version) {
- if (version->isValid() && version->qtVersion() < minimumVersion) {
- int result = QMessageBox::warning(QApplication::activeWindow(), tr("QML Profiler"),
- tr("The QML profiler requires Qt 4.7.4 or newer.\n"
- "The Qt version configured in your active build configuration is too old.\n"
- "Do you want to continue?"), QMessageBox::Yes, QMessageBox::No);
- if (result == QMessageBox::No)
- return 0;
- }
- }
- }
-
// FIXME: Check that there's something sensible in sp.connParams
if (isTcpConnection)
d->m_profilerConnections->setTcpConnection(sp.analyzerHost, sp.analyzerPort);