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)
commitba69afdc475f1fd41b2fb3141ada2531f190cf02
tree2a64d02703552941542ca21ccc77eb71761b1d92
parentc4c780187a07222041ecca264c88ca2ebb81b19e
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]