Discussion:
Using node.js from QML in Qt5
Ville M. Vainio
2011-07-15 03:33:49 UTC
Permalink
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.
Krenar Qehaja
2011-12-01 21:57:34 UTC
Permalink
Post by Ville M. Vainio
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
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.
+1

I started to use node.js just recently, and it's really damn good.

I hope we can somehow use node.js within QML2 (both powered by V8).

Regards,
Krenar

Loading...