From 5f0e1d9ff657b455b991c6ac39e78cbb7d424a8b Mon Sep 17 00:00:00 2001 From: Daniel Teske Date: Mon, 15 Jun 2015 14:55:24 +0200 Subject: [PATCH] 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 --- src/plugins/qmlprofiler/qmlprofilertool.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/plugins/qmlprofiler/qmlprofilertool.cpp b/src/plugins/qmlprofiler/qmlprofilertool.cpp index 2ea39855a0e..766faf0ed97 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);