[vlc-commits] Configure: Refuse Qt 5.5.0 and 5.5.1

Jean-Baptiste Kempf git at videolan.org
Mon Nov 16 14:56:15 CET 2015


vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Nov 16 14:54:35 2015 +0100| [64dccb0fdd71075e37e03c4b52a0c9f5bb749d3f] | committer: Jean-Baptiste Kempf

Configure: Refuse Qt 5.5.0 and 5.5.1

If you are a packager, I'm sorry for you, but you MUST patch Qt5.5 with
https://codereview.qt-project.org/#/c/139066/1
and then revert this commit.
You can also lobby for a Qt5.5.2

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=64dccb0fdd71075e37e03c4b52a0c9f5bb749d3f
---

 configure.ac |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure.ac b/configure.ac
index 63a0577..d90097c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3735,6 +3735,11 @@ AS_IF([test "${enable_qt}" != "no"], [
       ],[
           AC_MSG_WARN([Not building Qt Interface with X11 helpers.])
       ])
+
+      PKG_CHECK_EXISTS([Qt5Core >= 5.5.0 Qt5Core < 5.6.0], [
+        AC_MSG_ERROR(["You cannot build VLC with Qt-5.5.0. You need to backport I78ef29975181ee22429c9bd4b11d96d9e68b7a9c"])
+      ])
+
       QT_PATH="$(eval $PKG_CONFIG --variable=exec_prefix Qt5Core)"
       QT_HOST_PATH="$(eval $PKG_CONFIG --variable=host_bins Qt5Core)"
       AC_PATH_PROGS(MOC, [moc-qt5 moc], moc, ["${QT_HOST_PATH}" "${QT_PATH}/bin" "${CONTRIB_DIR}/bin"])



More information about the vlc-commits mailing list