[vlc-devel] [PATCH 3/5] Qt: Require Qt 5.9.0 as minimum version

Martin Storsjö martin at martin.st
Fri Jun 15 16:53:41 CEST 2018


Qt 5.9 is the current LTS branch, first released in May 2017.
---
 configure.ac          | 2 +-
 modules/gui/qt/qt.hpp | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7e07cd4..47e85de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3692,7 +3692,7 @@ AC_ARG_ENABLE(qt, [
 ])
 have_qt5_x11="no"
 AS_IF([test "${enable_qt}" != "no"], [
-  PKG_CHECK_MODULES([QT], [Qt5Core >= 5.5.0 Qt5Widgets Qt5Gui Qt5Svg], [
+  PKG_CHECK_MODULES([QT], [Qt5Core >= 5.9.0 Qt5Widgets Qt5Gui Qt5Svg], [
       PKG_CHECK_MODULES([QT5_X11], [Qt5X11Extras], [
           have_qt5_x11="yes"
       ],[
diff --git a/modules/gui/qt/qt.hpp b/modules/gui/qt/qt.hpp
index 8745493..85211a8 100644
--- a/modules/gui/qt/qt.hpp
+++ b/modules/gui/qt/qt.hpp
@@ -43,8 +43,8 @@
 #include <QString>
 #include <QUrl>
 
-#if ( QT_VERSION < 0x050500 )
-# error Update your Qt version to at least 5.5.0
+#if ( QT_VERSION < 0x050900 )
+# error Update your Qt version to at least 5.9.0
 #endif
 
 #define HAS_QT56 ( QT_VERSION >= 0x050600 )
-- 
2.7.4



More information about the vlc-devel mailing list