Re: [osg-users] OSG viewer blocks Qt window

2009-09-15 Thread Maxim Gammer
QThread ? 2009/9/15 Philip Lowman phi...@yhbt.com Can you post a small example of the problem? I've been using Qt with OSG for about a month now and haven't run into anything like this. Have you considered using something like a QTimer to send your keep-alive messages instead? On Mon,

Re: [osg-users] OSG viewer blocks Qt window

2009-09-15 Thread Zoe Catz
Philip Lowman wrote: Can you post a small example of the problem?  The problem seems to be a threading problem. I'm new to osg so probably the solution is pretty easy?! Here's my sample programm which opens 1 qt and 1 osg window, but only one is active at the same time (in this case the osg

Re: [osg-users] OSG viewer blocks Qt window

2009-09-15 Thread Robert Osfield
Hi Zoe, viewer.run() runs an frame loop till the viewer has it's done flag set, very much in the same way that QApplication::exec() runs it's event loop till exit. It's not that Qt and OSG aren't compatible, it's just this two very high level convenience functions both assume control of the main

[osg-users] OSG viewer blocks Qt window

2009-09-14 Thread Zoe Catz
Hi, I've written a Qt application. It's used to configure some settings which should be considered it my visualisation later on. In addition, this window update handles sending keep-alive messages via UDP in the background. The visualisation itselft should be rendered in an own window by OSG.

Re: [osg-users] OSG viewer blocks Qt window

2009-09-14 Thread Philip Lowman
Can you post a small example of the problem? I've been using Qt with OSG for about a month now and haven't run into anything like this. Have you considered using something like a QTimer to send your keep-alive messages instead? On Mon, Sep 14, 2009 at 9:40 AM, Zoe Catz small_dra...@gmx.net