Embedding Qt GUI into existing OpenGL program

opengl, qt

Solution

I've not looked into the specifics, but this has been done for openage.

I think looking at the documentation for QQuickRenderControl might be a good place to start.

Problem

I'm currently trying to get Qt working with my existing program. I'm using SFML for creating my OpenGL rendering context and creating the window. The things I tried out so far however always create a separate window by Qt instead of just rendering into the existing context. Is there any way I can force Qt to render to an already existing OpenGL context?

Original source