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

Reply via email to