PDA

View Full Version : Manual OpenGL initialization on QWidget



Robert K.
9th November 2010, 02:27
I'm initializing OpenGL on QWidget using standard WinAPI functions: SetPixelFormat, wglCreateContext, etc. and using it for continuous updating the window. Initialization is well, but I get VERY low performance. Is there is some things to do to make QWidget suitable for OpenGL rendering?

Gus Lott
9th November 2010, 18:50
Is there some reason you're not using a QGLWidget?