Ask / Submit

Using Node.JS with Qt bindings.

asked 2014-11-24 22:55:20 +0300

Moronicsmurf gravatar image

updated 2014-11-26 01:03:58 +0300

Keto gravatar image

Node.JS is a a language that can today use Qt bindings for generating a UI application on the desktop. Would it be possible to bind node.js to on the Tablet, for creating desktop application easier - and faster.

edit retag flag offensive close delete


If you are referring to the Qt project, please use an uppercase Q and a lowercase t. It should read as Qt and NOT QT.

Venemo ( 2014-11-24 23:08:09 +0300 )edit

This sounds more like the proverb with the hammer and the nails. I don't have experience with Node.JS, but I do have plenty with HTML/CSS/Javascript/AngularJS. My opinion is that webtech is definitely not the solution for everything. (In fact, I don't find it optimally suited even for web related things...)

QML is the best option for creating apps on Jolla, because it was made for the platform, instead of some ugly inconsistently hacked together sh|t which is webtech these days. C++ might not be for everyone, but that could be solved by Python / PyOtherSide.

Fuzzillogic ( 2014-11-25 21:52:15 +0300 )edit

4 Answers

Sort by » oldest newest most voted

answered 2014-11-25 01:17:48 +0300

peerchemist gravatar image

You can use JavaScript with QML to create Qt apps for Sailfish. It is not node.js but vanilla JavaScript. However documentation s thin and there are few examples that do not cover everything. Experience with Qt will help a lot.

edit flag offensive delete publish link more

answered 2014-11-25 08:55:24 +0300

Moronicsmurf gravatar image

I guess that is better than no support for ECMA languages at all. But it actually explains why there is Node.JS support for Qt in the first place. If there is Qt QML support for JS, the bindings would be very easy to setup. Would just need to get Node.JS runtime onto the tablet/phone and either trough smart "setup" packaging in the application or through a openrepo, and you would be able to run background services easy that way. yes im a fullstack webdeveloper w/ main focus on Node.JS and wanna transfer that knowledge

edit flag offensive delete publish link more

answered 2014-11-25 10:37:02 +0300

smoku gravatar image

Node.js is a runtime for applications in JavaScript.

Qt already contains a runtime for applications in JavaScript, so putting in an alternative runtime makes little sense.

edit flag offensive delete publish link more

answered 2014-11-25 21:49:35 +0300

tortoisedoc gravatar image

This sounds more like a Qt issue imho.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

1 follower


Asked: 2014-11-24 22:55:20 +0300

Seen: 2,177 times

Last updated: Nov 25 '14