I am working with QtGStreamer on one of the examples, and I cannot get it to work. I keep getting the error 'QtCore/QtGlobal: No such file or directory' from global.h, when I try #include <QtCore/QtGlobal in main.cpp I don't get an error from that.
Here is my code:

main.cpp
Qt Code:
  1. #include "mediaapp.h"
  2. #include <QApplication>
  3. #include <QGst/Init>
  4.  
  5.  
  6. int main(int argc, char *argv[])
  7. {
  8. QApplication app(argc, argv);
  9. QGst::init(&argc, &argv);
  10.  
  11. MediaApp media;
  12. media.show();
  13.  
  14. if (argc == 2) {
  15. media.openFile(argv[1]);
  16. }
  17.  
  18. return app.exec();
  19. }
To copy to clipboard, switch view to plain text mode 

player.pro
Qt Code:
  1. TEMPLATE = app
  2. TARGET = player
  3.  
  4. CONFIG += silent
  5.  
  6. CONFIG += pkgconfig
  7.  
  8. contains(QT_VERSION, ^4\\..*) {
  9. PKGCONFIG += QtGStreamer-1.0 QtGStreamerUi-1.0
  10. }
  11. contains(QT_VERSION, ^5\\..*) {
  12. PKGCONFIG += Qt5GStreamer-1.0 Qt5GStreamerUi-1.0\
  13. }
  14.  
  15. QT += core quick widgets
  16. CONFIG += qt console bootstrap
  17.  
  18. DEFINES += QT_NO_KEYWORDS
  19.  
  20. HEADERS += mediaapp.h player.h
  21. SOURCES += main.cpp mediaapp.cpp player.cpp
  22.  
  23. INCLUDEPATH += C:\qt-gstreamer-1.2.0\src \
  24. C:\Qt\Qt5.4.1\5.4\mingw491_32\include \
  25. C:\Qt\Qt5.4.1\5.4\android_armv5\include \
  26. C:\Qt\Qt5.4.1\5.4\android_armv7\include \
  27. C:\Qt\Qt5.4.1\5.4\android_x86\include \
  28. C:\Qt\Qt5.4.1\5.4\Src\qtbase\include
To copy to clipboard, switch view to plain text mode 

In C:\Qt\...\include there is a directory QtCore with QtGlobal. While typing it in to global.h I get suggestions to put it in, but it throws an error when I try and build it.