Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

    Will there ever be complete JavaScript bindings?

    Language Bindings
    4
    6
    4486
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      baysmith 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?

      Nokia Certified Qt Specialist.

      1 Reply Last reply Reply Quote 0
      • V
        vsorokin last edited by

        You may write bindings by himself. It don't difficult, but IMHO it is very obfuscate for first time.

        --
        Vasiliy

        1 Reply Last reply Reply Quote 0
        • B
          baysmith last edited by

          Writing the bindings myself is something I'm trying to avoid, especially if no one else is interested.

          Nokia Certified Qt Specialist.

          1 Reply Last reply Reply Quote 0
          • V
            vsorokin last edited by

            Well... I work with it. I had not managed to avoid :)

            --
            Vasiliy

            1 Reply Last reply Reply Quote 0
            • M
              mbroadst 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

              1 Reply Last reply Reply Quote 0
              • P
                Philius 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.js

                It 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?

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post