[vlc-commits] Qt: fix build w/o X11

Rémi Denis-Courmont git at videolan.org
Tue Mar 21 20:41:18 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 21 21:41:10 2017 +0200| [e140f1db6fdea03529455691e1ade7ef2f7cccd0] | committer: Rémi Denis-Courmont

Qt: fix build w/o X11

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

 modules/gui/qt/components/interface_widgets.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/components/interface_widgets.cpp b/modules/gui/qt/components/interface_widgets.cpp
index 6602682..33e7623 100644
--- a/modules/gui/qt/components/interface_widgets.cpp
+++ b/modules/gui/qt/components/interface_widgets.cpp
@@ -183,7 +183,7 @@ bool VideoWidget::request( struct vout_window_t *p_wnd )
 
 QSize VideoWidget::physicalSize() const
 {
-#if defined(HAVE_X11_XLIB_H) && HAS_QT5
+#ifdef QT5_HAS_X11
     if ( QX11Info::isPlatformX11() )
     {
         Display *p_x_display = QX11Info::display();



More information about the vlc-commits mailing list