[Interest] Allow external library to generate OpenGL buffers in context of QOpenGLWidget
pjbarendrecht at gmail.com
Thu Jul 4 11:17:18 CEST 2019
I have a Qt application with a QOpenGLWidget for displaying 3D meshes. Now
I'd like to use an external library (OpenSubdiv in this case, see e.g.
http://graphics.pixar.com/opensubdiv/docs/api_overview.html) to generate
additional OpenGL buffers, which I can then bind and use in the context of
my QOpenGLWidget. Currently the application segfaults when OpenSubdiv tries
to generate these buffers — it does not seem to have a valid OpenGL
context. I've read some documentation on e.g. Qt::AA_ShareOpenGLContexts,
but can't find anything related to sharing a context with something not
directly Qt-related. Any thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest