Will there ever be complete JavaScript bindings?
-
wrote on 12 Dec 2010, 22:20 last edited by
While using QML, I'm writing more and more JavaScript. I sometimes wish for a complete set of JavaScript bindings to standard widget classes. Will complete bindings ever exist?
I know about "QtScript bindings generator":http://code.google.com/p/qtscriptgenerator/, but it doesn't seem to have gotten much traction. Why not?
-
wrote on 12 Dec 2010, 23:13 last edited by
You may write bindings by himself. It don't difficult, but IMHO it is very obfuscate for first time.
-
wrote on 12 Dec 2010, 23:39 last edited by
Writing the bindings myself is something I'm trying to avoid, especially if no one else is interested.
-
wrote on 13 Dec 2010, 00:00 last edited by
Well... I work with it. I had not managed to avoid :)
-
wrote on 13 Dec 2010, 08:20 last edited by
iirc the trolls used a modified version of the QtJambi binding generator at one point to bind classes for QtScript.
See: http://doc.qt.nokia.com/qtjambi-4.5.2_01/com/trolltech/qt/qtjambi-generator.html
-
wrote on 11 Aug 2011, 22:54 last edited by
I just installed the following Debian packages:
qtscript-tools
libqtscript4-qtbindings
libqtscript4-doc$ cd /usr/share/doc/libqtscript4-doc/examples
$ qs_eval CollidingMice.jsIt looks just like the c++ one.
After trawling the web like you guys have, it's surprising that this isn't mentioned more prominently as a Qt resource.
What's up with that?