qt: Only include qtgui-config.h on qt >= 5.9.0

The file does not exist in previous versions
This commit is contained in:
Edward Hervey 2017-09-01 15:56:04 +02:00 committed by Edward Hervey
parent 20d51d876f
commit 115fb15a40

View file

@ -24,7 +24,10 @@
* 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