[Development] why is QJSEngine not modifying metaObject

Thiago Macieira thiago.macieira at intel.com
Wed Feb 11 22:00:45 CET 2015


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.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list