[Qt-interest] QGLWidget within a QMdiArea or QWorkspace - strange behaviour

David Scriven davidwriter at yahoo.com
Tue Sep 7 10:15:32 CEST 2010


I have an application which has a number of widgets embedded in a QWorkspace. 
One of these Widgets is a QGLWidget. Every so often the system (I think) seems 
to issue a repaint and everything is fine except the QGLWidget window goes white 
- (the clear color is black) even if there is something drawn on it. If I force 
a repaint on the QGLWidget it shows what it should. I've tried replacing thq 
QWorkspace witha QMdiArea, but I still get the weird behaviour for the 
QGLWidget. Any suggestions as to how I might fix this?

DS







More information about the Qt-interest-old mailing list