QOpenGLWindow or QOpenGLWidget if need to render to framebuffer?



  • Hi,
    I was wondering between the difference between QOpenGLWindow and QOpenGLWidget.
    I read that
    "OpenGLWindow renders directly to the given window, while QOpenGLWidget renders to offscreen buffer that is then rendered to the widget"

    I have to do some rendering to the framebuffer, as that is necessary for displaying in Oculus Rift.
    However, it seems unable to do so in our software which is built upon QOpenGLWindow.
    So, question is, is it possible to render to a framebuffer using QOpenGLWindow? or should I use QOpenGLWidget?
    Thank you.


  • Lifetime Qt Champion

    Hi,

    You should bring this question to the interest mailing list. You'll find there Qt's developers/maintainers as well as the guys behind Qt3D. This forum is more user oriented.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.