We are using QGLWidget, along with two shaders and some texture stuff, to do a bunch of video card texture manipulation and displaying it to a window. We also are taking these images and shipping them off over the network.
I want to be able to run the video card texture/shader code, hopefully still in a QGLWidget, but without an actual screen attached.
The issues I'm running into right now:
1) glewInit() fails with "Missing GL version", so we can't call glGenFramebuffer(), etc.
2) The context LOOKS valid (I do an isValid() check) but the OpenGL version is 1.0 (probably not correct...)
3) initializeGL() isn't called (since the window is hidden). I call it manually instead, but we have the glewInit() issue.
Is this possible to do? Do I need to create some fake window for the QGLWidget to be contained in?
Thank you for any help you have!
Bookmarks