Ville M. Vainio
2011-07-15 03:33:49 UTC
Note: this is not a serious feature suggestion, just an idle thought.
As it appears QML2 will use v8, some people may want to integrate with
some stuff from node.js as well. Node.js may not be the most api
stable piece of software, but it does already provide handy things
that are not supported by QML runtime out of the box:
http://nodejs.org/docs/v0.5.1/api/
Now, exposing similar things through Qt apis instead of using them
through "alien" source may be the more portable and future proof
solution, but providing a documented path to use node.js code and APIs
directly (without having to rebuild Qt, or whatever) could have some
appeal among the trend-hopping web development crowd.
As it appears QML2 will use v8, some people may want to integrate with
some stuff from node.js as well. Node.js may not be the most api
stable piece of software, but it does already provide handy things
that are not supported by QML runtime out of the box:
http://nodejs.org/docs/v0.5.1/api/
Now, exposing similar things through Qt apis instead of using them
through "alien" source may be the more portable and future proof
solution, but providing a documented path to use node.js code and APIs
directly (without having to rebuild Qt, or whatever) could have some
appeal among the trend-hopping web development crowd.