PDA

View Full Version : Qt 4.2.0 OpenGL problem



mbjerkne
6th October 2006, 15:00
I have a few programs written with Qt 4.1.0 that use an OpenGL widget. I recently updated to Qt 4.2.0 and I have noticed that a couple of my QGLWidget areas on my Qt program are just black. The weird thing is, I have some other programs that are written almost exactly the same way and they work fine.

Has anyone else had problems with OpenGL/QGLWidget in 4.2.0?

My code is pretty simple I create a QMainWindow, put a QGLWidget as the central widget and create some stuff to draw on it. I am developing on Windows 2000 using Visual Studio 2003.

wysota
14th October 2006, 18:39
It is hard to tell without knowing what's inside those GL widgets.