This is what I think: 
o You're creating a new QWidget; QTOSG - this is your toplevel Widget 
o You're then creating a new GLWidget (created by 
osgQt::GraphicsWindowQt(traits), but it's not connected to the QTOSG widget. 
-> You now have two twolevel widgets. 


Try modifying your code so that you can do this: 

traits->inheritedWindowData = new osgQt::GraphicsWindowQt::WindowData(NULL, 
yourQTOSGwidget); 

This should connect the two together. 
You might need to apply the WindowData patch I submitted to the submissions 
mailing list for this to work. 

These problems was the exact reason why I decided to write a widget from 
scratch.. 

Cheers,

 -Marius

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43799#43799





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to