On Wed, Feb 11, 2015 at 4:00 PM, Thiago Macieira <[email protected]> wrote:
> On Wednesday 11 February 2015 18:50:42 Hausmann Simon wrote: > > Hi, > > > > The brute force way is to add this feature to the engine at the expense > of > > performance, memory consumption and maintenance :) > > > > Today you can invoke Javascript defined functions by simply getting the > > function as a property via QJSValue and call() it. > > The objective was to expose such a JS object to D-Bus, but QtDBus requires > the > meta object to match. > I'm not sure what your full requirements are (it seems maybe you want to do the reverse of what I was trying to do), but you might be interested in a little science project I put together for a similar task: https://bitbucket.org/devonit/qqmldbusinterface. Regards, Matt > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > _______________________________________________ > Development mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/development >
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
