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

Robert Osfield robert.osfield at gmail.com
Wed Jul 20 22:28:32 PDT 2016


Hi Andre,

On 20 July 2016 at 07:47, Andre Normann <andre.normann at gmail.com> wrote:
> but there is one problem with OpenThreads when moving osgQt out of the core
> OSG. To get threading working with Qt5, I need the Qt version of
> OpenThreads. When you do not whant to have any dependence to Qt in the core
> OSG library, then we also need to drop the support of Qt inside OpenThreads.

The need for Qt to use it's own threading library is a major flaw of
Qt5 and forces you to jump through ridiculous hoops to work with it.
It's bad design from a vendor that's entirely trapped in a bubble of
controlling everything rather than provided genuine interoperability.

We'd need to move the qt thread path out of the OSG and into the
osgQt4/5 libraries.  This version of OpenThreads would need to built
with a Qt specific library name if linux distributors are to use it.

This is one of the issues why Qt doesn't belong in the core OSG distribution.

Robert.



More information about the osg-users mailing list