Hi Bernd,

If you application is using the osgQt library and this lib is linked
to Qt4 then mixing the viability of mixing Qt5 libs in your
application will be down to Qt4/5 compatibility, something I can't
answer as I'm no Qt expert but I guess it's reasonable to assume that
this could cause problems.

If you can't mix Qt5 and Qt4 within a single application then you'll
either have to rebuild the OSG against Qt5 or avoid using components
of the OSG that use Qt - primarily this is osgQt but there a few
plugins use it too.  Non of the core OSG libraries use Qt so
fundamentally the OSG will be Qt agnostic, so I you avoiding osgQt and
used your own OSG/WIndow integration or just used the OSG's osgViewer
native windowing support you'll be fine.

Robert.

On 19 April 2014 12:15, Bernd Hahnebach <[email protected]> wrote:
> OK delete all links :-(
>
> Hi All,
> I'm new to the forum. I provide a linuxbuild of IfcPlusPlus. It is a viewer 
> to display digital modells of building in file format ifc.
>
> The linuxbuild is on github .../berndhahnebach/IFCPlusPlus. Branch 
> linuxbuild-qt4 runs smooth on debian wheezy using the osg of wheezy. See on 
> github .../berndhahnebach/IFCPlusPlus/blob/linuxbuild-qt4/README.Linux
>
> The original code I use for my build (master branch) is linked against Qt5. I 
> would like to link against qt5 as well to minimise changes. In branch 
> linuxbuild-qt5 on github 
> .../berndhahnebach/IFCPlusPlus/blob/linuxbuild-qt5/README.Linux . I tried to 
> build IfcPlusPlus agiainst Qt5, it builds but gives Segmentgation Fault at 
> Startup. I found the binary uses libQtGui.so.4 which is of Qt4.
>
> My assumtion is this is because libopenscenegraph99 in debian wheezy depends 
> on Qt4libs. That is why I can not link against Qt5.
>
> Does this mean if I would like to build IfcPlusPlus against Qt5 I need to 
> build osg against Qt5 myself to use it with IfcPlusPlus?
>
> Thank you! Cheers, Bernd
>
> If you would like to try IfcPlusPlus:
> search for IfcOpenHouse.ifc or for digital210king if you would like to treat 
> IfcPlusPlus
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=59070#59070
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to