This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

mixing openGL and native painting

hello everyone!!!

i'am trying to make gles2 and qt work together.

i have managed to compile qt with GLES2 and then qt/3d.

but i have problems with mixing openGL and native painting.
so i can't normally program 2d UI in my 3d application with help
of qml+qt/3d.

examples of this issue:
hellogl_es2.pro(have no deal with qml ot qt3d but I think this is the same issue):

allmost all qt/3d applications won't work. example (moon.pro):

but all qt-quick-3d projects without 2d contetnt run perfectly:(basket_qml.pro)

qt-quick-3d projects without 2d contetnt run but with artifacts.
exploring of this artifacts made me think that
when i click native qml element it an only it daws normally, but other
native qml elements overpainted by opengl content(Item3d).


i am using Beagleboard OMAP3530, Qt 4.8 (tryed also 4.7.3).
EGL version 1.4. all SGX demos run correctly.

have any ideas? thanks!
  • We have checked the QGLWidget + 2D painting through hellogl_es2 and textures demos. They are working on Qt 4.7.2.

    From the screenshot, OpenGL + painting seems to be working? On the hellogl_es2, there is the 3D Qt logo rendered by SGX. On top of this, the FPS information text is drawn by the raster paint engine. 

    Regards,

    Anand