Hi, I'm looking at extending the osgViewerQT example by being able to add items to the QGraphicsView (by setting a QGraphicsScene and adding items to that). These items include some QT controls that need to be embedded in the window with transparency enabled.
When I simply create the scene and add the controls (using a GraphicsProxyWidget), the view begins flickering black and white and the log prints "QGLContext::makeCurrent(): Failed." over and over. It seems like QT and OSG are fighting over the context. I've heard that you can get around this by subclassing the QGraphicsScene and doing your OSG rendering in the drawBackground() method, storing and retrieving the context before/after, but I'm not exactly sure what that means - calling frame() there? Thank you! Cheers, Nick ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61113#61113 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

