[Interest] OpenGL and Quick in 5.4

Thomas Sevaldrud thomas at silentwings.no
Fri Dec 19 17:19:05 CET 2014


After upgrading to 5.4 my OpenGL applications no longer work. I am mixing
OpenGL and Quick components, like in this example:


I.e I have a class derived from QuickItem with a QObject-based renderer
that renders on the QQuickWindow::beforeRendering()-signal.

This works nicely in 5.3, but in 5.4 my scene is painted over with light
gray. (I have traced this in AMD CodeXL and have verified that my scene is
rendered first, it is just painted over afterwards). It seems that this
happens when the QML scene graph is rendered.

I know that a lot of GL-related have changed in 5.4, so I guess that there
is something that needs to be done differently, but I can't figure it out...

The above mentioned example still works in 5.4, so it is probably something
I'm doing wrong :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141219/002df103/attachment.html>

More information about the Interest mailing list