Hello,
The OpenSceneGraph-qt/-devel (OSG 3.4.0) packages on Fedora 24
are built against Qt 4. I'm wondering if that is suggested by OSG
(maybe due to the single thread restriction on Qt 5) or is the
choice of the Fedora packager.
I am able to run our OSG applications with Qt 5 on Windows and
I'd like to try it on Linux to see if we can transition off Qt 4.
Would it make sense to request OpenSceneGraph-qt5 packages be
added by the main distros? (I am assuming those are the only OSG
packages with Qt dependencies.) If so, how best to do that?
Thanks,
Stuart
On Fri, Jul 15, 2016 at 9:15 AM, Alberto Luaces <alu...@udc.es> wrote:
> Hi Stuart,
>
> Stuart Mentzer writes:
>
>> Hello,
>>
>> The OpenSceneGraph-qt/-devel (OSG 3.4.0) packages on Fedora 24 are
>> built against Qt 4. I'm wondering if that is suggested by OSG (maybe
>> due to the single thread restriction on Qt 5) or is the choice of the
>> Fedora packager.
>>
>
> I think the main reason is to support existing code using OSG and Qt4 on
> their repositories. However, I expect all distributions to begin
> shipping OSG and Qt5 since Qt4 is fading away.
In some cases it is worth maintaining two versions of the same
library, but yes, the Qt4 build will go away sooner than later.
>> I am able to run our OSG applications with Qt 5 on Windows and I'd
>> like to try it on Linux to see if we can transition off Qt 4. Would it
>> make sense to request OpenSceneGraph-qt5 packages be added by the main
>> distros? (I am assuming those are the only OSG packages with Qt
>> dependencies.) If so, how best to do that?
>
> Personally I think that it would make sense. You would usually file a
> bug report against the OSG package. For example, Debian has a
> "wish-list" category for that kind of petitions. You could also address
> the maintainer personally.
The Fedora procedure would be to file a bug at https://bugzilla.redhat.com.
You can try to email OpenSceneG...@fedoraproject.org afterwards.
François
From https://packages.debian.org/experimental/openscenegraph-3.4 and https://www.archlinux.org/packages/community/x86_64/openscenegraph/ it looks like 3.4.0 is built against Qt5 in Debian and Arch, excluding building applications with Qt4, which isn't desirable either. Having distinct osgQt 4 and 5 packages as Robert describes seems like the best way to encourage packagers to provide them both (even if most of the differences are in the examples).
> François
> _______________________________________________
> osg-users mailing list
> osg-...@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Stuart
I’ve been working on improving the Qt5 integration with OSG in a local fork; one of the reasons I’ve hesitated about submitting it here is that it would be entirely incompatible with the current Qt4-based code in osgQt.
I’m happy to ‘get involved’, but I don’t feel qualified to take ownership of the broken-out osgQt code, I’d want someone who knows OGS much more deeply, and who is more involved in the community here, to manage that.
Kind regards,
James
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