Re: [osg-users] [build] osg and Qt5 and debian wheezy
Hi Robert, Thanks for your answer, and your informations regarding the topic. It helped a lot. robertosfield wrote: > ... > 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... It actually uses osgQt which uses Qt4 Code: $ ldd IfcPlusPlusViewer | grep libosgQt libosgQt.so.99 => /usr/lib/libosgQt.so.99 (0x7f5960fab000) $ ldd /usr/lib/libosgQt.so.99 | grep Qt libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x7f7223e6e000) libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x7f72231c4000) libQtOpenGL.so.4 => /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4 (0x7f7222ec6000) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59103#59103 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] osg and Qt5 and debian wheezy
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 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 > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [build] osg and Qt5 and debian wheezy
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 osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org