[osg-users] Linux packaging: Qt 4 vs 5

Andre Normann andre.normann at gmail.com
Tue Jul 26 07:03:51 PDT 2016

I have now created an example which is working well.

Here is the link: <https://github.com/anormann1974/osgviewerQt5>

It does not depend on osgQt and multi threading is working.


2016-07-21 16:24 GMT+02:00 James Turner <zakalawe at mac.com>:

> > On 21 Jul 2016, at 07:33, Andre Normann <andre.normann at 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 at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160726/cbfb434c/attachment-0003.htm>

More information about the osg-users mailing list