HI Marius, I'm not the author of this particular bit of code but from cursory look it does seem to me that your interpretation is correct, and the the parent should of QWidget type rather than GLWidget type. Have you tried changing it at your end?
On the ABI front I don't think this change should cause issues. Robert. On 7 November 2011 14:54, Marius Kintel <[email protected]> wrote: > Hi, > > GraphicsWindowQt::WindowData requires the parent widget of a graphics window > to be of type GLWidget: > > struct WindowData : public osg::Referenced > { > WindowData( GLWidget* widget = NULL, GLWidget* parent = NULL ): > _widget(widget), _parent(parent) {} > GLWidget* _widget; > GLWidget* _parent; > }; > > Looking at the code using this, this looks like a typo. The parent should be > of type QWidget. > If I'm right this is easy to fix, but it would probably break the ABI. > > Cheers, > > -Marius > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

