[PySide] PySide2 + QML + FBO (QQuickFramebufferObject) segfault

Serge K. skab12 at gmail.com
Wed Dec 18 21:21:01 CET 2019


Hi All,

I try to use QQuickFramebufferObject as explain here
<https://blog.qt.io/blog/2015/05/11/integrating-custom-opengl-rendering-with-qt-quick-via-qquickframebufferobject/>
but
it generates a segfault, unfortunately.  You can see a small example on the
following gist:
https://gist.github.com/skoudoro/bddba019af0c0d16a19a219b50eb4067

I think one of the 3 functions of "QQuickFramebufferObject.Renderer" is not
properly implemented in PySide2 and can not be overridden at the moment.

- createFrameBufferObject(self, size)
- render () (is called when something changes)
- synchronize(self, item) (called as a result of
QQuickFramebufferObject.update())

Can you confirm that this is the problem?

Thank you,

Serge K.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20191218/423db992/attachment.html>


More information about the PySide mailing list