[osg-users] osgQt versioning problem
Robert Osfield
robert.osfield at gmail.com
Fri Jun 12 11:56:08 PDT 2015
Hi Jannik,
On 12 June 2015 at 18:24, Jannik Heller <scrawl at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150612/42535754/attachment-0003.htm>
More information about the osg-users
mailing list