From f1cb602476bbef5e577f124087b981c9adee5c34 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Thu, 10 Sep 2015 00:07:18 +1000 Subject: [PATCH] gtk, qt: more specifically define the compile time requirements Otherwise we could include headers/configurations that will never been installed. https://bugzilla.gnome.org/show_bug.cgi?id=754732 --- ext/qt/qtitem.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/qt/qtitem.cc b/ext/qt/qtitem.cc index 6f2200079f..7c53979138 100644 --- a/ext/qt/qtitem.cc +++ b/ext/qt/qtitem.cc @@ -31,13 +31,13 @@ #include "qtitem.h" #include "gstqsgtexture.h" -#if GST_GL_HAVE_WINDOW_X11 && defined (HAVE_QT_X11) +#if GST_GL_HAVE_WINDOW_X11 && GST_GL_HAVE_PLATFORM_GLX && defined (HAVE_QT_X11) #include #include #include #endif -#if GST_GL_HAVE_WINDOW_WAYLAND && defined (HAVE_QT_WAYLAND) +#if GST_GL_HAVE_WINDOW_WAYLAND && GST_GL_HAVE_PLATFORM_EGL && defined (HAVE_QT_WAYLAND) #include #endif