Good day fellow programmers,

I am trying to include Gstreamer into my Qt application.
In order to do so I need to include "gst.h".

So far I've tried to simply add it to the main.cpp file.
Qt Code:
  1. #include <gst/gst.h>
To copy to clipboard, switch view to plain text mode 
I've also tried the direct file path:
Qt Code:
  1. #include "/usr/include/gstreamer-1.0/gst/gst.h"
To copy to clipboard, switch view to plain text mode 

I've also tried specifying an INCLUDEPATH in the .pro file:
Qt Code:
  1. INCLUDEPATH += /usr/include/gstreamer-1.0/gst
To copy to clipboard, switch view to plain text mode 
As this didn't work I tried to be a bit more specific:
Qt Code:
  1. unix:INCLUDEPATH += /usr/include/gstreamer-1.0/gst
To copy to clipboard, switch view to plain text mode 

During these tries I've been using the command in main.cpp
Qt Code:
  1. #include <gst/gst.h>
To copy to clipboard, switch view to plain text mode 
but received the error all the time
Qt Code:
  1. /home/finn/GST_Test2/main.cpp:2: error: gst/gst.h: No such file or directory
To copy to clipboard, switch view to plain text mode 
.

Besides that I also tried using PKGCONFIG:
Qt Code:
  1. unix {
  2. CONFIG += link_pkgconfig
  3. PKGCONFIG += gstreamer-1.0
  4. }
To copy to clipboard, switch view to plain text mode 

According to this commands result gstreamer-1.0 exists on the target system.
Qt Code:
  1. pkg-config --list-all | grep gstreamer
To copy to clipboard, switch view to plain text mode 

However I always receive the error
Qt Code:
  1. :-1: error: Package gstreamer-1.0 not found
To copy to clipboard, switch view to plain text mode 

The target system is a Raspberry Pi running Linux Debian. I've been able to successfully build applications on that system which is why I would guess that the target system should not be the problem.

The file gst.h does exist on the target system in the directory /usr/include/gstreamer-1.0/gst

Does anyone has an idea how to properly include gst.h into my Qt project?
Thanks a lot!

Best regards,
Plox