2016-06-16 05:13:02 +00:00
|
|
|
TEMPLATE = lib
|
|
|
|
|
2017-10-13 11:25:22 +00:00
|
|
|
TARGET = gstqmlgl
|
2016-06-16 05:13:02 +00:00
|
|
|
|
2019-01-19 14:10:09 +00:00
|
|
|
QT += qml quick gui
|
2016-06-16 05:13:02 +00:00
|
|
|
|
|
|
|
QT_CONFIG -= no-pkg-config
|
2019-01-19 14:07:44 +00:00
|
|
|
CONFIG += link_pkgconfig debug
|
2016-06-16 05:13:02 +00:00
|
|
|
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
|
2019-01-19 14:37:45 +00:00
|
|
|
macx:DEFINES += HAVE_QT_MAC
|
2016-06-16 05:13:02 +00:00
|
|
|
|
2020-02-05 08:56:23 +00:00
|
|
|
versionAtLeast(QT_VERSION, "5.5") {
|
|
|
|
win32-msvc: LIBS += opengl32.lib
|
|
|
|
win32-g++: LIBS += -lopengl32
|
|
|
|
}
|
2019-04-18 15:14:18 +00:00
|
|
|
|
2016-06-16 05:13:02 +00:00
|
|
|
SOURCES += \
|
|
|
|
gstplugin.cc \
|
2017-10-13 11:25:22 +00:00
|
|
|
gstqtglutility.cc \
|
2016-06-16 05:13:02 +00:00
|
|
|
gstqsgtexture.cc \
|
|
|
|
gstqtsink.cc \
|
2017-10-13 11:25:22 +00:00
|
|
|
gstqtsrc.cc \
|
|
|
|
qtwindow.cc \
|
2016-06-16 05:13:02 +00:00
|
|
|
qtitem.cc
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
gstqsgtexture.h \
|
|
|
|
gstqtgl.h \
|
2017-10-13 11:25:22 +00:00
|
|
|
gstqtglutility.h \
|
2016-06-16 05:13:02 +00:00
|
|
|
gstqtsink.h \
|
2017-10-13 11:25:22 +00:00
|
|
|
gstqtsrc.h \
|
|
|
|
qtwindow.h \
|
2016-06-16 05:13:02 +00:00
|
|
|
qtitem.h
|