From 08a36367b1f541736cede098e26eefca838b526a Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Mon, 2 Feb 2015 23:21:40 +0100 Subject: [PATCH 1/1] Bump Qt4 version requirement to 4.8 Qt 4.8 gained some support for C++11 features such as brace initializers, which make some things much more convenient. As this version was released more than three years ago, it should be safe to finally bump our requirements accordingly. The core was even fine with Qt 4.4 until now, and that was released a whopping 7 years ago! Requiring 4.8 will allow us to remove a bunch of old workarounds as well, besides allowing for proper use of C++11 in the future. --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f6e9f748..69424f63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -139,11 +139,7 @@ if (USE_QT5) add_definitions(-DHAVE_QT5) else() message(STATUS "Building for Qt4...") - if (BUILD_GUI) - set(QT_MIN_VERSION "4.6.0") - else() - set(QT_MIN_VERSION "4.4.0") - endif() + set(QT_MIN_VERSION "4.8.0") # Select a Qt installation here, if you don't want to use system Qt if(QT_PATH) -- 2.20.1