<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I am trying to use qmlglsink from python (PyQt5) so that I can display video content in a qml QQuickItem.</div><div><br></div><div>As a first step I was trying to port the example in <br>    gst-plugins-good-1.14.3/tests/examples/qt/qmlsink</div><div><br></div><div>The problem I am having is that I don't know how to get a pointer to the QQuickItem which is needed by the widget property of qmlglsink.</div><div><br></div><div>The following code</div><div>        videoItem = root.findChild(QtQuick.QQuickItem, "videoItem")<br>        sink.set_property("widget", videoItem)<br></div><div>gives me the error:<br></div><div>       TypeError: could not convert <PyQt5.QtQuick.QQuickItem object at 0x7f177ea3b048> to type 'gpointer' when setting property 'GstQtSink.widget'</div><div><br></div><div>If anyone can suggest how to resolve this it would be appreciated.</div><div><br></div><div>Thanks</div><div><br></div><div>Eric</div><div><br></div><div><br></div></div></div></div></div>