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?
Forum Updated to NodeBB v4.3 + New Features

Will there ever be complete JavaScript bindings?

Scheduled Pinned Locked Moved Language Bindings
6 Posts 4 Posters 4.9k 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 12 Dec 2010, 22:20 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 12 Dec 2010, 23:13 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 12 Dec 2010, 23:39 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 13 Dec 2010, 00:00 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 13 Dec 2010, 08:20 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 11 Aug 2011, 22:54 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