qmlglsink: add win32 support
authorMatthew Waters <matthew@centricular.com>
Thu, 16 Jun 2016 05:13:02 +0000 (15:13 +1000)
committerMatthew Waters <matthew@centricular.com>
Wed, 22 Jun 2016 04:26:05 +0000 (14:26 +1000)
commit3be4b85a439c63de71a71ec3ddbe0dd7d08a90fc
treee2fc260af4686388180b5b37632ba6800a0e2c28
parentc9dd45393ea63f5ba0bf0a6e4dd38ef1f5d7fc18
qmlglsink: add win32 support

The current state of c++ ABI's on Window's and Gst's/Qt's conflicting
mingw builds means that we cannot use mingw for building the qt plugin.

Instead, a qmake .pro file is provided that is expected to be used with the
msvc binaries provided by Qt like so:

(with the PATH environment variable containing the path to the qt biniaries
and PKG_CONFIG_PATH containing the path to GStreamer modules)
cd /path/to/sources/gst-plugins-bad/ext/qt
qmake -tp vc

Then open the resulting VS project and build the library.  Then

cp debug/libgstqtsink.dll /path/to/prefix/lib/gstreamer-1.0/libgstqtsink.cll

https://bugzilla.gnome.org/show_bug.cgi?id=761260
ext/qt/qtitem.cc
ext/qt/qtplugin.pro [new file with mode: 0644]