It doesn't give me a segmentation fault if I use QGLWidget::makeCurrent or QGLWidget::paintGL, however it still loads everything at the end and doesn't allow user control until after it is displayed as before. I will keep trying and let you know what happens.
-John -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Monday, December 18, 2006 10:46 AM To: osg users Subject: Re: [osg-users] Switch from qtosgwidget to osgsimpleviewerqt3 Hi John, On 12/18/06, Whitfield, John M. (SED/TMI) <[EMAIL PROTECTED]> wrote: > I added a function called requestRedraw to simpleviewerQT, and all it > does is call updateGL(). The code compiles, but whenever I move the > mouse it gives a seg fault, anyone know why? I have no real clue, kinda difficult without having tried it myself and without having a stack trace.. I have begun working on osgViewer, and briefly looked at the QT side, but have moved on since my current focus in multiple screen support and I could figure out how to get QT to do what I wanted, so I'll have to return to it later once I have more info on QT usage (see earlier email). It might be that we just have to limit QT usage to what QT exposes. Once I got X11 based multiple screen viewer working I'll move on to event driven apps, and have a look at making it possible to use the viewer classes without continuous update - i.e. update on demand in the same way as your app. This might be a couple of days, untill then either try and diagnose the problem yourself, or use continuous update. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
