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

> On second thought, I'm not sure how this solution would interact with the
> MOC (QT meta object compiler). osgQt::QGraphicsViewAdapter is a Q_OBJECT,
> meaning the MOC needs to run on it and produce an object file. If we move
> all code to the headers, then it would fall on the users responsibility to
> make sure they run the MOC on osg-headers. That's not too optimal.
>

Bits of Qt are just crap with "clever" solutions like MOC that often just
end up introducing their own problems.

Perhaps one would just need to avoid using the whole MOC stuff and linking
directly the callbacks in normal C++.

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

Reply via email to