gstreamer/ext/qt/qtplugin.pro

46 lines
753 B
Prolog
Raw Normal View History

TEMPLATE = lib
TARGET = gstqmlgl
QT += qml quick gui
QT_CONFIG -= no-pkg-config
2019-01-19 14:07:44 +00:00
CONFIG += link_pkgconfig debug
PKGCONFIG = \
gstreamer-1.0 \
gstreamer-video-1.0 \
gstreamer-gl-1.0
2019-01-19 14:07:44 +00:00
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