Hi, I have tried to integrate the ViewerWidget (provided in the example 'osgviewerQt') to a QMdiArea, but this doesn't work. When the application start, I have empty 3D widgets. Nevertheless, popup windows works.
Code: ViewerWidget* viewWidget = new ViewerWidget; viewWidget->createWindow(); QMdiArea *area = new QMdiArea; area->addSubWindow(viewWidget); QMainWindow *m = new QMainWindow; m->setCentralWidget(area); m->show(); I have modified the original implementation (class splitted to 'h'/'cpp' files; and construction of the widget in a method 'createWindow()'), nevertheless if I put viewWidget in the QMainWindows instead of the QMdiArea, there is no problem. I would like know if you have a solution to use QMdiArea. Thank you. Cheers, Vincent[/code] ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=64788#64788 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

