> On 21 Jul 2016, at 07:33, Andre Normann <andre.norm...@gmail.com> wrote:
> 
> building OT with QThread support is just one step. You also need to write 
> your own osgQt::GraphicsWindowQt derived class to get threading working. I 
> can not remember who posted this solution, but I think you can find in the 
> mailing list archive. With my solution you can use multi-threading, but you 
> can not switch between multi-threading modes. 
> 

I’ve got a GraphicsWindowQt5 (and a GraphicsWIndowQtQuick derivative) in my 
local tree that does that with multi-threading, and doesn’t require OpenThreads 
using Qt; at least on Mac it seems to work ok. What I’m working on now is an 
adapter to import the osg::GraphicsContext into a QOpenGLContext using the 
setNative API that was added in Qt 5.4; this isn’t required for the window 
classes but opens up another integration strategy.

Kind regards,
James
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to