Hi Jannik,

On 12 June 2015 at 18:24, Jannik Heller <scr...@baseoftrash.de> wrote:

> as a first step to rectify the problem I have introduced a version check
> within osgQt (include/osgQt/Version) to store the Qt version that osgQt has
> been compiled against. If there is a version mismatch, the build process
> will abort with an #error rather than crashing at runtime later on. Will
> post to osg-submissions in a second.
>

Sounds like a reasonable improvement.

Have you looked at the option of moving the implementation to the headers?
I don't know how feasible it is, it'd require us to automatically select
between Qt4 and Qt4 based in someway.  Perhaps an osgQT/QT4 and osgQT/QT5
headers could include all the appropriate parts required, and then have 3rd
party apps include which one they want, and have these set defines to
select the different paths.  I'm just throwing out ideas here - I have no
clue what might actually work well.


Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to