qt: Only include qtgui-config.h on qt >= 5.9.0
authorEdward Hervey <edward@centricular.com>
Fri, 1 Sep 2017 13:56:04 +0000 (15:56 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 1 Sep 2017 13:57:25 +0000 (15:57 +0200)
The file does not exist in previous versions

ext/qt/gstqtgl.h

index 2c8df24..85aad62 100644 (file)
  * warnings/errors */
 
 #include <gst/gl/gstglconfig.h>
+#include <QtCore/qglobal.h>
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0))
 #include <QtGui/qtgui-config.h>
+#endif
 
 #if defined(QT_OPENGL_ES_2) && GST_GL_HAVE_WINDOW_ANDROID
 #define GLsync gst_qt_GLsync