title: What is the proper way to incorporate gstreamer into Qt (Windows)?
body: <p>Since there is no real tutorial on the internet except for a very few similar questions that have had no answer, how do I incorporate gstreamer into Qt on Windows 7?</p>
  
  <p>I have installed gstreamer throught the installer; then i copied the whole folder into my Qt project folder and put this line in the main:</p>
  
  <pre><code>#include &lt;gstreamer/1.0/x86_64/include/gstreamer-1.0/gst/gst.h&gt;
  </code></pre>
  
  <p>The compiler suggests gst_init, which means it can read gst.h, yet when I build the copiler gives this error:</p>
  
  <p>C:\ ..path here...\Qt\BachelorProject_AUDIOVIDEO_STREAMING\gstreamer\1.0\x86_64\include\gstreamer-1.0\gst\gst.h:27: error: C1083: Cannot open include file: 'glib.h': No such file or directory</p>
  
  <p>What am I missing? </p>
  
  <p>EDIT: by adding this in the .pro file (as suggested by the gstreamer webpage) and compiling with cmake:</p>
  
  <pre><code>CONFIG += link_pkgconfig
  PKGCONFIG += QtGStreamer-1.0
  </code></pre>
  
  <p>doesn't work either. It really seems that no "official" solution is available online</p>