GStreamer's Qt6 qmlgl plugin enables video rendering in Qt6/QML applications by providing GstGLVideoItem QML element. This plugin is essential for integrating GStreamer pipelines with Qt6 Quick/QML user interfaces.
Enable Qt6 PACKAGECONFIG which are added in oe-core[0] to build the qmlgl plugin when qt6-layer is present utilizing dynamic-layer. [0]: https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=0a6acd465deb1ee2d30e26b7662ad4abdc459bdb Signed-off-by: Telukula Jeevan Kumar Sahu <[email protected]> --- Changes in v3: Rename files to arago standard and upstream qt6 packageconfigs Changes in v2: fix PRC failures meta-arago-extras/conf/layer.conf | 4 ++++ .../gstreamer/gstreamer1.0-plugins-good_1.26-arago.inc | 7 +++++++ .../gstreamer/gstreamer1.0-plugins-good_1.26.%.bbappend | 4 ++++ 3 files changed, 15 insertions(+) create mode 100644 meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26-arago.inc create mode 100644 meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.%.bbappend diff --git a/meta-arago-extras/conf/layer.conf b/meta-arago-extras/conf/layer.conf index 3927a913..1a4a5bdd 100644 --- a/meta-arago-extras/conf/layer.conf +++ b/meta-arago-extras/conf/layer.conf @@ -22,3 +22,7 @@ LAYERDEPENDS_meta-arago-extras = " \ networking-layer \ openembedded-layer \ " + +BBFILES_DYNAMIC += " \ + qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/recipes*/*/*.bbappend \ +" diff --git a/meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26-arago.inc b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26-arago.inc new file mode 100644 index 00000000..8c89e68a --- /dev/null +++ b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26-arago.inc @@ -0,0 +1,7 @@ +PACKAGECONFIG:append = " qt6" + +# Qt tools like rcc, moc and uic are located in /usr/libexec, instead of +# /usr/bin, which is not in PATH by default. +do_configure:prepend:class-target() { + export PATH=${STAGING_DIR_NATIVE}${libexecdir}:$PATH +} diff --git a/meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.%.bbappend b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.%.bbappend new file mode 100644 index 00000000..0ceb558c --- /dev/null +++ b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.%.bbappend @@ -0,0 +1,4 @@ +GSTREAMER1p0_PLUGINS_GOOD_1p26_ARAGO = "" +GSTREAMER1p0_PLUGINS_GOOD_1p26_ARAGO:arago = "gstreamer1.0-plugins-good_1.26-arago.inc" + +require ${GSTREAMER1p0_PLUGINS_GOOD_1p26_ARAGO} -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17005): https://lists.yoctoproject.org/g/meta-arago/message/17005 Mute This Topic: https://lists.yoctoproject.org/mt/117398604/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
