Using native OpenGL library with QOpenGLWindow
I am using a library that depends on OpenGL ES (embedded)/OpenGL 4.0 (Desktop). The library does not manage the OpenGL context by its own, thus an OpenGL context must be created and made active during all calls to the library. The library itself must not depend on Qt since it is used in some other projects as well.
Our Windows port should be passed on Qt. I far as I understand does Qt 5.5 chose the render framework (Angle, OpenGL, Software) during startup.
I would like to have the library evaluate the OpenGL calls during runtime. Thus the library itself should not be linked against OpenGL or OpenGL ES. How do I select the correct OpenGL calls during startup? Is there something like Glew, that helps me on that?