Re: [osg-users] QT-OSG problem

2011-08-21 Thread John Doves
Hello, Something changed in Qt 4.8 Beta, maybe it be usefull check it http://labs.qt.nokia.com/2011/06/03/threaded-opengl-in-4-8/ Best regards, John[/url] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42155#42155 ___

Re: [osg-users] QT-OSG problem

2011-08-19 Thread Thomas Borsos
Hi! Thanks for your answers! Maybe I was explaining the problem poorly. So, I would like to open an osgViewer window in one thread, and a QT window in another thread. Take a closer look at my source code! If I comment the contents of the qt thread, than everything is OK in the OSG scene. Conve

Re: [osg-users] QT-OSG problem

2011-08-16 Thread Martin Scheffler
I'm currently working on a better qt render thread integration that solves all these problems. It is already possible to open render windows from the render thread (using a qt blocking queued connection). Resize, minimize, close etc are communicated using signal-slot connections. The only requir

Re: [osg-users] QT-OSG problem

2011-08-16 Thread Tom Pearce
Hi Thomas, I think a bit more information would be useful. Werner is correct about Qt paint events in that all QWidgets must be created in the QApplication thread and cannot be moved to any other threads. If you're trying to use osg to render into a Qt-based window, this will be an issue. Ho

Re: [osg-users] QT-OSG problem

2011-08-16 Thread Werner Modenbach
Hi Thomas, as far as I know Qt does not support painting in several threads. Preparation of scene data in a separate thread is no problem. But the painting process must be the GUI-Thread. - Werner - > Hi all! > > I am currently working on an application, that includes > > - an OSGViewer windo

Re: [osg-users] QT-OSG problem

2011-08-16 Thread Thomas Borsos
Hi all! I am currently working on an application, that includes - an OSGViewer window, with a scene - a QT window, where I would like to adjust parameters of the scene in the other window (in real time). Both windows are handled in a different thread. The problem is, that if I make a window of