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 to build the qmlgl plugin when qt6-layer is present
utilizing dynamic-layer.

Signed-off-by: Telukula Jeevan Kumar Sahu <[email protected]>
---
 meta-arago-extras/conf/layer.conf                     |  4 ++++
 .../gstreamer1.0-plugins-good_1.26.%.bbappend         | 11 +++++++++++
 2 files changed, 15 insertions(+)
 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.%.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..e30440e1
--- /dev/null
+++ 
b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.%.bbappend
@@ -0,0 +1,11 @@
+PACKAGECONFIG:append = " qt6"
+
+QT6WAYLANDDEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", 
"qtwayland", "", d)}"
+
+PACKAGECONFIG[qt6] = "-Dqt6=enabled, -Dqt6=disabled, qtbase qtbase-native 
qtdeclarative qttools-native ${QT6WAYLANDDEPENDS}"
+
+# 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
+}
-- 
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16963): 
https://lists.yoctoproject.org/g/meta-arago/message/16963
Mute This Topic: https://lists.yoctoproject.org/mt/117296362/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to