gstreamer/ext/qt
Matthew Waters a1f53b4f46 qmlglsink: propagate the context up the the application
Allows the application to be notified of the OpenGL context creation.
2020-03-18 11:22:39 +00:00
..
gstplugin.cc qt: fix build with qmake 2017-09-07 09:39:13 +01:00
gstqsgtexture.cc qt: fix broken build due to commit 2fd84a6c for gstgl 2017-08-22 13:44:20 +01:00
gstqsgtexture.h qmlglsink: Add dummy texture that is shown as placeholder for NULL buffers 2017-05-21 16:52:23 +02:00
gstqtgl.h qmlgl: ensure Qt defines GLsync to fix compile on some platforms 2020-03-05 03:21:48 +00:00
gstqtglutility.cc qmlgl: qmake: fix building for android 2019-01-21 11:55:50 +02:00
gstqtglutility.h qt: implement qmlglsrc for qml view grab 2016-08-03 22:11:11 +10:00
gstqtsink.cc qmlglsink: propagate the context up the the application 2020-03-18 11:22:39 +00:00
gstqtsink.h qt: Use G_DECLARE_FINAL_TYPE 2020-03-16 09:20:07 +01:00
gstqtsrc.cc qmlglsrc: fix vertical flip matrix 2019-10-25 22:09:20 +11:00
gstqtsrc.h qt: Use G_DECLARE_FINAL_TYPE 2020-03-16 09:20:07 +01:00
meson.build qmlglsink: fix build on EGL platform without X11 headers 2019-12-04 22:38:49 +00:00
qtitem.cc qtitem: fix leak of caps 2020-03-18 11:22:39 +00:00
qtitem.h qmlglsink: Expose itemInitialized as property 2017-09-14 15:12:12 +10:00
qtplugin.pro qmlglsink: fix compilation with Qt >= 5.5 on Windows 2019-04-18 17:14:18 +02:00
qtwindow.cc qmlglsrc: read from the back buffer when use-default-fbo = TRUE 2019-10-25 22:09:20 +11:00
qtwindow.h qmlglsrc: use glBlitFramebuffer to copy texture for GLES3.0 2017-01-10 21:34:30 +11:00
README.md qmlgl: add README.md with information on building for non-linux platforms with qmake 2019-01-21 11:55:50 +02:00

Building for non-linux platforms

Compiling the gstqmlgl plugin for non-linux platforms is not so trivial. This file explains the steps that need to be followed for a successful build.

Step 1

Build GStreamer for the target platform using cerbero.

Step 2

Enter the cerbero shell:

./cerbero-uninstalled -c config/<target platform config>.cbc shell

Step 3

Export the following environment variables:

export PATH=/path/to/Qt/<version>/<platform>/bin:$PATH

if you are cross-compiling (ex. for android), also export:

export PKG_CONFIG_SYSROOT_DIR=/

Additionally, if you are building for android:

export ANDROID_NDK_ROOT=$ANDROID_NDK

Note: the ANDROID_NDK variable is set by the cerbero shell; if you are not using this shell, set it to the directory where you have installed the android NDK. Additionally, if you are not building through the cerbero shell, it is also important to have set PKG_CONFIG_LIBDIR to $GSTREAMER_ROOT/lib/pkgconfig.

Step 4

cd to the directory of the gstqmlgl plugin and run:

qmake .
make

Step 5

Copy the built plugin to your $GSTREAMER_ROOT/lib/gstreamer-1.0 or link to it directly if it is compiled statically