mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
584c5afbe5
commit
e279903857
2 changed files with 3 additions and 5 deletions
|
@ -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) */
|
||||
|
|
|
@ -39,6 +39,4 @@ HEADERS += \
|
|||
qtitem.h
|
||||
|
||||
INCLUDEPATH += \
|
||||
$$(GSTREAMER_ROOT)/include \
|
||||
$$[QT_INSTALL_PREFIX]/include/QtGui/$$[QT_VERSION]/QtGui/
|
||||
|
||||
$$(GSTREAMER_ROOT)/include
|
||||
|
|
Loading…
Reference in a new issue