Corrected post with a little more info My basic idea was to use QT wrapping in order to do create and call method object at runtime as cppintrospection … But QML seamed quite promising in order to bring both wrapping and graphical boxing.
So I develop some kind of preprecompiler (before moc so I called it pmoc) that read cpp headers and generates customisable QMLplugin code in order to handle: -Nodal logic ( via config file:copy/paste+fx ambiguities leverage) -Pointer life cycle ( via config file: handle smartpointer/normalpointer) -Native object boxing (put native object in QT boxes) -Graphical menu for action ambiguities leverage (when selected and copied type can be used in several action -CPP2QML method wrapping (not finished..I’m doing it by hand for the moment) I tryied to explain a test case applying code generation to OpenSceneraph library on the website but it’s not very technically detailled….(and written in French) http://osg4noob.olympe.in Here's a gross demo http://youtu.be/yAYs5-lYj7k Here's an eldest video showing how to create a particle system https://www.youtube.com/watch?v=mAxGVT_d1bE So the purpose of the underlying tool is not restricted to osg but almost all cpp libraries (without twisted stuff…ex: I have some grammar problems parsing Bullet headers) So Before you tell it “Yes, the interface is ugly” because osg is my testbench and I have lower level things to do like improve the generated code for ex… Here’s an external reference about something near to what i’m doing (https://www.qtdeveloperdays.com/2013/sites/default/files/presentation_pdf/QtDevDaysSFO-2013_WrappingCppForQml_final.pdf) Is anyone know how to raise money for this kind of project? Best regards, Julien ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=62427#62427 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

