qmlgl: qualify Qt includes with their module and remove module include dir from the .pro file

it is perfectly legal to use the <module/class> style of includes with Qt
and it avoids the need for having the module's include dir in the include path
This commit is contained in:
George Kiagiadakis 2019-01-19 15:19:26 +01:00
parent 584c5afbe5
commit e279903857
2 changed files with 3 additions and 5 deletions

View file

@ -47,7 +47,7 @@
#if defined(QT_OPENGL_ES_2)
#define GLsync gst_qt_GLsync
#include <QOpenGLContext>
#include <QOpenGLFunctions>
#include <QtGui/QOpenGLContext>
#include <QtGui/QOpenGLFunctions>
#undef GLsync
#endif /* defined(QT_OPENGL_ES_2) */

View file

@ -39,6 +39,4 @@ HEADERS += \
qtitem.h
INCLUDEPATH += \
$$(GSTREAMER_ROOT)/include \
$$[QT_INSTALL_PREFIX]/include/QtGui/$$[QT_VERSION]/QtGui/
$$(GSTREAMER_ROOT)/include