How to embed OCCT in QOpenGLWidget?
QOpenGLWidget is different from QGLWidget because uses a FBO to render the final image.
I tried to embed OCCT in QOpenGLWidget but nothing shows. I think that's because QT and OCCT render in different buffers.
I tried also to derive my own widget from generic QWidget and created my own openGL context and binded a FBO.something shows but not with best results.
My question are:
- how to embed OCCT in QOpenGLWidget?
- How to make OCCT render in a OpenGL context made by Qt?(since OpenGL_graphicDriver initialize a context, is it possible to create viewer and view from another context?)
I apologise for my bad english