mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
0375e53225
As of Qt >= 5.5, qmake do not link to opengl32 by default anymore. This commit adds opengl32.lib to the .pro file so that the plugin can be build using QtCreator on Windows.
42 lines
711 B
Prolog
42 lines
711 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
|
|
|
|
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
|