Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. Will there ever be complete JavaScript bindings?
Qt 6.11 is out! See what's new in the release blog

Will there ever be complete JavaScript bindings?

Scheduled Pinned Locked Moved Language Bindings
6 Posts 4 Posters 5.3k Views 1 Watching
  • 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 Offline
    B Offline
    baysmith
    wrote on last edited by
    #1

    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
    0
    • V Offline
      V Offline
      vsorokin
      wrote on last edited by
      #2

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

      --
      Vasiliy

      1 Reply Last reply
      0
      • B Offline
        B Offline
        baysmith
        wrote on last edited by
        #3

        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
        0
        • V Offline
          V Offline
          vsorokin
          wrote on last edited by
          #4

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

          --
          Vasiliy

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mbroadst
            wrote on last edited by
            #5

            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
            0
            • P Offline
              P Offline
              Philius
              wrote on last edited by
              #6

              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
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved