<div dir="ltr"><div><div>Hi<br><br></div>I am trying to use qmlglsink in my application. I get following errors:<br>

</div><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">0:00:07.725866162 15410       0x6de750 </span><span style="font-weight:600;color:rgb(170,0,0)">ERROR  </span><span style="color:rgb(0,0,0)">          qtglutility gstqtglutility.cc:145:gst_qt_get_gl_wrapcontext: Unknown platform</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">0:00:07.725930976 15410       0x6de750 </span><span style="font-weight:600;color:rgb(170,0,0)">ERROR  </span><span style="color:rgb(0,0,0)">           qtglwidget qtitem.cc:308:qt_item_init_winsys: 0xa1b690 failed to retrieve wrapped context (NULL)</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">0:00:07.725952786 15410       0x6de750 </span><span style="font-weight:600;color:rgb(170,170,0)">WARN   </span><span style="color:rgb(0,0,0)">               qtsink gstqtsink.cc:325:gst_qt_sink_change_state:<qtsink0> error: Could not initialize window system</span></p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px">Also gst-plugins-bad Qt example (gst-plugins-bad/tests/examples/qt/qml) give me very same error. If I add defines GST_GL_HAVE_WINDOW_X11 and HAVE_QT_X11 to pro file the first error will go away. <br></p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px">I am using F24. Gstreamer version seem to be 1.8.3 (some packages are 1.8.2). Gstreamer-plugins-bad (branch 1.8) is cloned from <a href="https://cgit.freedesktop.org/gstreamer/gst-plugins-bad">https://cgit.freedesktop.org/gstreamer/gst-plugins-bad</a>. Qt version is 5.6.1.</p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px">How to get this work?<br></p><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)"></span></p>  </div>