Robert and Rob,

Thanks for your replies. 
My test code earlier had a
CullThreadPerCameraDrawThreadPerContext threading
model, but SingleThreaded/Automatic was also giving
the same leaks.
I made a skeleton QT+OSG application to confirm this
behavior yesterday and came to the same conclusion
(QT4.2 is buggy). Memory usage with QT 4.2 was
increasing linearly with time, and also depends on the
number of viewer windows. Upgrading to QT 4.3 resulted
in stable memory usage after 3 hours of
running/testing. Thanks for the confirmation, other
people using QT 4.2 can probably benefit from this
information.

Another question for Robert:

So I understand that if I create my window from QT
(inheriting from QGLWidget+osgViwer) I can only use a
single-threaded model. The application we are working
on will also be ported to SGI machines in the future,
but using QT for the GUI is a constraint. What is the
best design that allows us to have our windows and GUI
embedded in Qt while taking full advantage of the
better SGI pipeline and OSG multithreading support?
Any tips? Is there any example code somewhere?

Thanks again for your help.
Sohaib Athar.


> Sohaib,
>
> I experienced exactly the same behavior on my Qt
based project. After  
> much pain and anguish I determined that this is a
bug in Qt 4.2. I  
> even reported it as a bug and worked through a
couple of iterations  
> with the Qt tech support. To make a long story
short, you will find  
> that things work better in either Qt 4.1.5 or Qt
4.3. I could never  
> get multiple contexts working satisfactorily under
Qt 4.2.2.
>
> Hope this helps.
>
> -RobF




       
____________________________________________________________________________________
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to