PDA

View Full Version : multithreaded OpenGL Qt application



yuriy
31st August 2006, 16:42
I found the code example for multithreaded OpenGL application with Qt3 in QtQuarterly (http://doc.trolltech.com/qq/qq06-glimpsing.html). Did anybody port it to Qt4 ? Is there other multithreaded OpenGL code examples for Qt 4?
Thanks,

e8johan
1st September 2006, 07:28
Have you tried running the automatic porting tool on it - it usually does a good job. The things one has to tend to is to add the Qt namespace at some places (before enumerations) and such.

yuriy
1st September 2006, 18:54
Hi,
Thanks for the suggestion. I ported the example manually, but have experienced lockups in QApplication constructor, likely due to the bugs in Xlib implementation. Did anybody have luck running multithreaded OpenGL application (=rendering in more than one thread) on Linux? I'd be interested in details.
Thanks,
Yuriy