<div dir="ltr">Hi Robert,<div><br></div><div>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.</div><div><br></div><div>Best regards,</div><div>André</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-19 16:08 GMT+02:00 Robert Osfield <span dir="ltr"><<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Stuart,<br>
<span class=""><br>
On 18 July 2016 at 18:24, Stuart Mentzer <<a href="mailto:osgforum@tevs.eu">osgforum@tevs.eu</a>> wrote:<br>
> The Fedora OSG packager added this comment to the Bugzilla entry:<br>
><br>
><br>
>> Having experimented a bit with Qt4/Qt5 builts, I found this won't be easily achievable.<br>
>><br>
>> - OSG-3.4.0's qt-libs/plugins/binaries use non-qt-versioned file names/SONAMEs. I.e. qt4 and qt5-compiled binaries will conflict at runtime/installation time.<br>
>><br>
>> - Qt5-built OSG is slightly incompatible with Qt4-build versions of OSG-3.4.0.<br>
>> (Building against QT5 causes OSG to drop the osgdb_qfont.so plugin)<br>
>><br>
>> - OSG-3.4.0 monolytical [monolithic?] build system treats QT4 and QT5 as mutually exclusive alternatives.<br>
>><br>
>> All in all, I don't see an easy way to implement parallel installation of qt4-/qt5-build variants.<br>
><br>
><br>
> If these issues can't be finessed, separating just osgQt into Qt 4 and 5 packages won't suffice: we'll need separate OSG builds, installation paths, and library naming. But maybe someone more familiar with Linux builds can see a simpler approach. Having both Qt 4 and 5 builds on Linux seems to have value but if that's not practical it might be time with OSG 3.6.0 to encourage Linux packagers to switch to Qt 5.<br>
<br>
<br>
</span>I don't think just switching to Qt5 is a solution.<br>
<br>
I've come to the conclusion that we need separate osgQt4 and osgQt5 Libraries.<br>
<br>
I also feel that having either in the core OSG would not be<br>
appropriate, no other core OSG NodeKit/Libraries have external<br>
dependencies like Qt, it has never sat alongside the rest of the OSG<br>
as a comfortable companion. For OSG-3.6 I now think we should not<br>
have any osgQt library included, as if we didn't when we'd encode in<br>
the lack of flexibility for which Qt version to target for yet another<br>
generation of OSG.<br>
<br>
What I think is appropriate would be to first move osgQt out into it's<br>
own separate project/repository, something we can host on our<br>
OpenSceneGraph github account. The next step would be then to create<br>
a dedicated osgQt4 and osgQt5 library either from within the osgQt<br>
project or as separate projects. I would suggest that we have OSG/Qt<br>
users step up and direct the future of osgQt/osgQt4/osgQt5. I would<br>
suggest that this project work with a range of OSG version rather than<br>
just the up coming OSG-3.6.<br>
<br>
On the practicalities front we need to five write permission on the<br>
OpenSceneGraph/osgQt project to who ever wants to lead/contribute to<br>
it. It might be that hosting it as part of OpenSceneGraph githib<br>
account would not serve this purpose well. I welcome suggestions on<br>
this.<br>
<span class="HOEnZb"><font color="#888888"><br>
Robert.<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</div></div></blockquote></div><br></div>