Hi getting a crash on startup with osgQt (from osg 3.2.0), osgearth (from trunck) and Qt 5.1.0
Basically: - osgearth queries capabilities by calling osg::GraphicsContext::createGraphicsContext() - this creates a GraphicsWindowQt - this in turns creates a GLWidget, setting GraphicsWindowQt::_ownsWidget to true - once osgearth is done with the GraphicsWindow, this goes out of scope and is deleted - in it's destructor, GraphicsWindow removes itself from the GLWidget, BUT DOES NOT DELETE IT - later at some point Qt5 sends resize events to the widget (because GraphicsWindowQt) - and GLWidget::resizeEvent() does not check it the _gw and hence crashes… So it seems to be me GraphicsWindowQt:: ~GraphicsWindowQt() should delete the widget if GraphicsWindowQt created the widget in the first place… Has anyone come across this behaviour? Cheers, Mike _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

