mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
45 lines
753 B
Prolog
45 lines
753 B
Prolog
TEMPLATE = lib
|
|
|
|
TARGET = gstqmlgl
|
|
|
|
QT += qml quick gui
|
|
|
|
QT_CONFIG -= no-pkg-config
|
|
CONFIG += link_pkgconfig debug
|
|
PKGCONFIG = \
|
|
gstreamer-1.0 \
|
|
gstreamer-video-1.0 \
|
|
gstreamer-gl-1.0
|
|
|
|
android {
|
|
CONFIG += static
|
|
} else {
|
|
CONFIG += plugin
|
|
}
|
|
|
|
android:DEFINES += HAVE_QT_ANDROID
|
|
win32:DEFINES += HAVE_QT_WIN32
|
|
macx:DEFINES += HAVE_QT_MAC
|
|
|
|
versionAtLeast(QT_VERSION, "5.5") {
|
|
win32-msvc: LIBS += opengl32.lib
|
|
win32-g++: LIBS += -lopengl32
|
|
}
|
|
|
|
SOURCES += \
|
|
gstplugin.cc \
|
|
gstqtglutility.cc \
|
|
gstqsgtexture.cc \
|
|
gstqtsink.cc \
|
|
gstqtsrc.cc \
|
|
qtwindow.cc \
|
|
qtitem.cc
|
|
|
|
HEADERS += \
|
|
gstqsgtexture.h \
|
|
gstqtgl.h \
|
|
gstqtglutility.h \
|
|
gstqtsink.h \
|
|
gstqtsrc.h \
|
|
qtwindow.h \
|
|
qtitem.h
|