gstreamer1.0-plugins-good - qml6glsink

"Benjamin MAB. Marty" <[email protected]>
Newsgroups org.yoctoproject.lists.yocto
Message-ID <AS8PR08MB100972AB137EDBF01F553B36AC7A1A@AS8PR08MB10097.eurprd08.prod.outlook.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.