And also the Glib / GObject from GTK+ http://www.gtk.org/
This wasn’t so straight forward because there isn’t an installer from gtk.org. You have to
download MSYS2 installer from here:https://msys2.github.io/
Then you have to run a few commands with MSYS2 to install everything. These are all the
commands that I run that got it to work.
pacman -Sy pacman
pacman –Syu (keep running this until it says there is nothing left to update)
pacman -S mingw-w64-x86_64-toolchain
The last command installs the toolchain – don’t ask me what that is. There is more
information here: https://blogs.gnome.org/nacho/2014/08/01/how-to-build-your-gtkapplication-
on-windows/

Now you should be ready to build qt-gstreamer!
Open up a command line and cd to the qt-gstreamer directory.
Now run:
$ mkdir build && cd build
$ cmake .. -G "Visual Studio 12 2013" -DCMAKE_INSTALL_PREFIX=\DEV
\GStreamer\qt-gstreamer -DQT_VERSION=5 -Wno-dev

This tells CMake to use QT Version 5 and to suppress the CMake warnings for developers
and to use Visual Studio 2013 Cmake generator.
If everything works then you should get a list of all the dependencies that you do have and
a list of some things built by CMake. If it doesn’t work then you will get a list of missing
Requirements on the command line and also in the build directory in a file called
Requirements. If this happens, then install the missing requirements and delete everything
in the build directory before trying again.

Now you should have a full build directory. Open up the QtGStreamer.sln file in Visual
Studio 2013 and choose Release Mode and then choose Build->Build Solution. This will
build a lot of things. I still got a few build failures but it was usable enough for me.
I wanted to run the QMLPlayer2 example, so I went straight to this solution:
qt-gstreamer\build\examples\qmlplayer2
and opened the qtgst-example-qmlplayer2.sln

Now you can build that in release mode and you will have the executable in this directory:
qt-gstreamer\build\examples\qmlplayer2\Release

This should fill up your qmlplayer2\Release folder with all the dll files and folders required
to deploy the qmlplayer on another machine.

For some reason this didn’t pull in all the dependencies for me and I had to manually add
these folders:
QT_DIR/qml/QtQuick2.0
Also requires the QtGStreamer folder from
qt-gstreamer\build\src\qml\quick2\QtGStreamer
Requires Qt5OpenGL.dll file from QT_DIR\bin\Qt5openGL.dll
GStreamer also requires this file in this directory but I don’t know where this comes from:
C:\gstreamer\1.0\x86\lib\gstreamer-1.0\libgstqt5videosink.dll

It is probably an extra installation option with GStreamer.

If everything works then you should see a cartoon about a bunny start playing.

Other notes: When I first ran this on my machine I got a green screen instead of the
video. This turned out to be my Intel graphics card wasn’t good enough for it. Luckily I had
another graphics card already installed on my machine I just wasn’t using it x-(

-- Could NOT find GLIB2 (missing: GLIB2_LIBRARIES GLIB2_MAIN_INCLUDE_DIR)
-- Could NOT find GObject (missing: GOBJECT_INCLUDE_DIR GOBJECT_LIBRARIES)
...
-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- You must install these packages before continuing.
-----------------------------------------------------------------------------
* GLib <http://www.gtk.org/>
Required to build QtGLib
* GObject <http://www.gtk.org/>
Required to build QtGLib

I used MSYS2 to install GTK+ in C:\Programs\gtk\gtk-3.19 but I might not have the necessary environment variables or paths that must be defined. I don't know if they were supposed to be created during installation or if I'm supposed to create or define them.

Hi Jward,
I can't remember having problems with this specifically.
Only thing I could suggest if you have installed GLib and GObject is to manually define environment variables for GLIB2_LIBRARIES, GLIB2_MAIN_INCLUDE_DIR, GOBJECT_INCLUDE_DIR and GOBJECT_LIBRARIES.
Regards,
Michael

Thanks Michael. None of the variables you listed are in my environment. If they are in yours, where do they point? If you don't have them, they shouldn't be needed for cmake to be able to build the project but I'm obviously missing something .