[vlc-commits] Qt: Require Qt 5.9.0 as minimum version

Martin Storsjö git at videolan.org
Sat Jun 16 15:59:27 CEST 2018


vlc | branch: master | Martin Storsjö <martin at martin.st> | Fri Jun 15 10:45:57 2018 +0300| [1162a9ffec4b3c278d30fd358b781cad887a5030] | committer: Martin Storsjö

Qt: Require Qt 5.9.0 as minimum version

Qt 5.9 is the current LTS branch, first released in May 2017.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1162a9ffec4b3c278d30fd358b781cad887a5030
---

 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 7e07cd4e21..47e85debe0 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 8745493f3b..85211a8f27 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 )



More information about the vlc-commits mailing list