From 7c8a469f9a61512f38db4507db13df6300cee050 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 1 Sep 2017 15:56:04 +0200 Subject: [PATCH] qt: Only include qtgui-config.h on qt >= 5.9.0 The file does not exist in previous versions --- ext/qt/gstqtgl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/qt/gstqtgl.h b/ext/qt/gstqtgl.h index 2c8df24..85aad62 100644 --- a/ext/qt/gstqtgl.h +++ b/ext/qt/gstqtgl.h @@ -24,7 +24,10 @@ * warnings/errors */ #include +#include +#if (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)) #include +#endif #if defined(QT_OPENGL_ES_2) && GST_GL_HAVE_WINDOW_ANDROID #define GLsync gst_qt_GLsync -- 2.7.4