On 1/16/26 8:37 AM, Jeevan via lists.yoctoproject.org wrote:
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 ++++
  .../gstreamer/gstreamer1.0-plugins-good_1.26-qt6.inc  | 11 +++++++++++
  .../gstreamer1.0-plugins-good_1.26.%.bbappend         |  4 ++++
  3 files changed, 19 insertions(+)
  create mode 100644 
meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26-qt6.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-qt6.inc
 
b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26-qt6.inc
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-qt6.inc
@@ -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}"

This part could be sent upstream to oe-core master.

Andrew

+
+# 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..27426f4d
--- /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_QT6 = ""
+GSTREAMER1p0_PLUGINS_GOOD_1p26_QT6:arago = 
"gstreamer1.0-plugins-good_1.26-qt6.inc"
+
+require ${GSTREAMER1p0_PLUGINS_GOOD_1p26_QT6}



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


Reply via email to