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
#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) */
qtitem.h
INCLUDEPATH += \
- $$(GSTREAMER_ROOT)/include \
- $$[QT_INSTALL_PREFIX]/include/QtGui/$$[QT_VERSION]/QtGui/
-
+ $$(GSTREAMER_ROOT)/include