mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
ba69afdc47
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
39 lines
No EOL
782 B
Prolog
39 lines
No EOL
782 B
Prolog
TEMPLATE = lib
|
|
|
|
TARGET = libgstqtsink
|
|
|
|
QT += qml quick widgets
|
|
|
|
QT_CONFIG -= no-pkg-config
|
|
CONFIG += link_pkgconfig debug plugin
|
|
PKGCONFIG = \
|
|
gstreamer-1.0 \
|
|
gstreamer-video-1.0 \
|
|
gstreamer-gl-1.0
|
|
|
|
DEFINES += \
|
|
GST_USE_UNSTABLE_API \
|
|
HAVE_QT_WIN32 \
|
|
'GST_PACKAGE_NAME=\"GStreamer Bad Plug-ins (qmake)\"' \
|
|
'GST_PACKAGE_ORIGIN=\"Unknown package origin\"' \
|
|
'GST_LICENSE=\"LGPL\"' \
|
|
'PACKAGE=\"gst-plugins-bad (qmake)\"' \
|
|
'PACKAGE_VERSION=\"1.9.0.1\"'
|
|
|
|
SOURCES += \
|
|
gstplugin.cc \
|
|
gstqsgtexture.cc \
|
|
gstqtsink.cc \
|
|
qtitem.cc
|
|
|
|
HEADERS += \
|
|
gstqsgtexture.h \
|
|
gstqtgl.h \
|
|
gstqtsink.h \
|
|
qtitem.h
|
|
|
|
INCLUDEPATH += \
|
|
$$(GSTREAMER_ROOT)/include \
|
|
$$[QT_INSTALL_PREFIX]/include/QtGui/$$[QT_VERSION]/QtGui/
|
|
|
|
|