Hi Jannik, I have merged your changes and checked them into svn/trunk. It doesn't yet feel like a great solution, but a small step in a direction that would help end users a bit more.
I think the best way longer term will be to have osgQt4 and osgQt5 headers and libs. One could retain backwards compatibility by having an osgQt headers+libs point to osgQt4 or osgQt5. This is something for beyond OSG-3.4 though. Longer term it may actually just make more sense to spin osgQt out of the core OSG and have a separate osgQt project. Robert. On 12 June 2015 at 21:00, Jannik Heller <[email protected]> wrote: > Hi Robert, > > I've added the check for Qt version mismatches into osgQt as suggested in > http://forum.openscenegraph.org/viewtopic.php?t=14999. > > When an application is built with Qt4, but osgQt was built with Qt5 (or > vice versa), upon #includeing osgQt users will receive an #error aborting > the build. > > This at least provides a proper error message rather than a crash, while > we are working on better fixes for the problem. > > Cheers, > Jannik > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=64080#64080 > > > > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > >
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
