[vlc-commits] Don't fail if Qt5X11Extras is not detected

Rafaël Carré git at videolan.org
Thu Jul 31 11:19:24 CEST 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Jul 31 11:18:54 2014 +0200| [70b074a2d175458f1d4cac79726c1921507da7de] | committer: Rafaël Carré

Don't fail if Qt5X11Extras is not detected

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

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

diff --git a/configure.ac b/configure.ac
index ab18dd7..d59ff67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3733,6 +3733,8 @@ AS_IF([test "${enable_qt}" != "no"], [
       PKG_CHECK_MODULES([QTX11], [Qt5X11Extras], [
           VLC_ADD_LIBS([qt4],[${QTX11_LIBS}])
           VLC_ADD_CXXFLAGS([qt4],[${QTX11_CFLAGS} -DQT5_HAS_X11])
+      ],[
+          AC_MSG_WARN([Not building Qt Interface with X11 helpers.])
       ])
       QT_PATH="$(eval $PKG_CONFIG --variable=exec_prefix Qt5Core)"
       QT_HOST_PATH="$(eval $PKG_CONFIG --variable=host_bins Qt5Core)"



More information about the vlc-commits mailing list