Hello all

I'm trying to use qml6glsink on an X11 Yocto target. I'm able to build the 
GStreamer Plugin with the following bbappend:
PACKAGECONFIG[qt6] = "-Dqt6=enabled,-Dqt6=disabled,qtbase qtdeclarative 
qtbase-native qttools-native"
PACKAGECONFIG:append = " qt6"

do_configure:prepend:class-target() {
      export PATH=${STAGING_DIR_NATIVE}${libexecdir}:$PATH
}

With this, I get the libgstqml6.so file, and gst-inspect reports the plugin:
# gst-inspect-1.0 | grep qml
qml6:  qml6glsink: Qt6 Video Sink

However, the plugin fails at runtime. I see the following errors:
0:00:00.507629238 1527546   0x7f78000ea0 ERROR            qtglutility 
gstqt6glutility.cc:221:gst_qml6_get_gl_wrapcontext: Unknown platform
0:00:00.507947328 1527546   0x7f78000ea0 ERROR             qtglwidget 
qt6glitem.cc:751:initWinSys: 0x55919a3680 failed to retrieve wrapped context 
(NULL)
0:00:00.507984884 1527546   0x7f78000ea0 WARN                  qtsink 
gstqml6glsink.cc:364:gst_qml6_gl_sink_change_state:<qml6glsink0> error: Could 
not initialize window system

Has anyone experienced similar issues with qml6glsink on Yocto?

Thanks

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

Reply via email to