mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-03 23:16:38 +00:00
fcf8b6bb90
Move the package defines for GST_PLUGIN_DEFINE from the command line into the source file to avoid quoting issues (-DPACKAGE_NAME="foo" means the quotes won't actually make it to the compiler and then it no longer gets a string constant).
34 lines
560 B
Prolog
34 lines
560 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
|
|
|
|
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/
|
|
|
|
|