mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 15:36:35 +00:00
f509043c1d
The old version with everything included and buildable against GStreamer 1.6 can still be found in the gst-player-0.1 branch and will be continued to be updated for a while.
48 lines
847 B
Prolog
48 lines
847 B
Prolog
TEMPLATE = app
|
|
|
|
QT += qml quick widgets
|
|
|
|
CONFIG += c++11
|
|
|
|
DEFINES += GST_USE_UNSTABLE_API
|
|
|
|
RESOURCES += qml.qrc
|
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
|
QML_IMPORT_PATH =
|
|
|
|
# Default rules for deployment.
|
|
include(deployment.pri)
|
|
|
|
# not tested (yet)
|
|
unix:!macx {
|
|
QT_CONFIG -= no-pkg-config
|
|
CONFIG += link_pkgconfig
|
|
PKGCONFIG = \
|
|
gstreamer-1.0 \
|
|
gstreamer-player-1.0 \
|
|
gstreamer-tag-1.0
|
|
}
|
|
|
|
macx {
|
|
QMAKE_MAC_SDK = macosx10.9
|
|
INCLUDEPATH += /Library/Frameworks/GStreamer.framework/Headers
|
|
|
|
LIBS += \
|
|
-framework AppKit \
|
|
-F/Library/Frameworks -framework GStreamer
|
|
}
|
|
|
|
HEADERS += \
|
|
qgstplayer.h \
|
|
player.h \
|
|
quickrenderer.h \
|
|
imagesample.h
|
|
|
|
SOURCES += main.cpp \
|
|
qgstplayer.cpp \
|
|
player.cpp \
|
|
quickrenderer.cpp \
|
|
imagesample.cpp
|
|
|
|
DISTFILES +=
|