From: Manuel Nickschas Date: Mon, 2 Feb 2015 22:21:40 +0000 (+0100) Subject: Bump Qt4 version requirement to 4.8 X-Git-Tag: 0.12-beta1~41 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=08a36367b1f541736cede098e26eefca838b526a;hp=985657b9e4d8b2b22a775d34320fc65d14df4858;ds=sidebyside 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. --- 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)