Hi again,
I just wanted to add that I tried QPainter::setRedirected, and it works in the sence that you can use it to draw the controls in a GL context.
I do it by first redirecting the draw event of the widget I want on to a QPixmap, and then I use a GL initiated QPainter to draw this pixmap in GL context.
The problem is, that this only DRAWS the controls in GL, so these are not real object anymore under GL...
It looks like having 'responding objects' under GL will force me to do sume subclassing after all...





Reply With Quote
Bookmarks