<div dir="ltr"><div>I managed to solve this. I had two issues. At first, I was compiling gstreamer plugins against different version of Qt than I was using for my application and qml example. After I fixed Qt version qml example start working.<br><br></div><div>Second issue.. I was starting pipeline too early, before player window was shown (openglContext doesn't exist then). I just need to delay pipeline start.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-29 13:41 GMT+03:00 Jani Koskimaa <span dir="ltr"><<a href="mailto:jani.koskimaa@gmail.com" target="_blank">jani.koskimaa@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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_<wbr>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_<wbr>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_<wbr>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/<wbr>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" target="_blank">https://cgit.freedesktop.org/<wbr>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>
</blockquote></div><br></div>