[Qt-interest] Qt, osg and overpainting

Ender EREL erelender at yahoo.com
Fri Jan 22 16:19:25 CET 2010


Hello everyone,

We are developing an application using Qt and OpenSceneGraph. We have a 
widget where the osg scene is drawn. On top of this widget, i want to 
use QPainter calls, like the opengl\overpainting example.

I use setAutoFillBackground(false) in the constructor, then i use 
QPainter in my paintEvent, after osg finishes its drawing stuff. I also 
tried doing these in paintGL method.

Both methods (paintEvent, paintGL) work successfully on my machine ( 
WinXP, Qt 4.5.3 ). But when i deploy my application on another machine 
(test machine, Vista, Qt 4.5.3 ), the widget shows excessive flicker of 
the whole widget.

Am i doing something wrong? Has anyone ever met this issue?

Any recommendations are welcome.

Best Regards,
Ender EREL



More information about the Qt-interest-old mailing list