<div dir="ltr">On 12 June 2015 at 20:58, Jannik Heller <span dir="ltr"><<a href="mailto:scrawl@baseoftrash.de" target="_blank">scrawl@baseoftrash.de</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br>
<span class=""></span></blockquote><div><br></div><div>Bits of Qt are just crap with "clever" solutions like MOC that often just end up introducing their own problems.<br><br></div><div>Perhaps one would just need to avoid using the whole MOC stuff and linking directly the callbacks in normal C++.<br><br></div><div>Robert.<br></div><div><br><br></div></div></div></div>