Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. QtScript module's future in Qt 5
Forum Updated to NodeBB v4.3 + New Features

QtScript module's future in Qt 5

Scheduled Pinned Locked Moved The Lounge
5 Posts 2 Posters 3.8k 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.
  • T Offline
    T Offline
    tucnak
    wrote on last edited by
    #1

    Hi, community!

    I am really active QtScript's user - almost all my big project use it.

    But what about Qt 5?

    Everybody know that Qt 5 use V8 script engine. Is it possible to port QtScript module to V8 without losing it's functionallity (access values, signal-slots, properties)?

    I am really interested in QtScript, so if it's possible to port it I really really want to participate in it's porting. I am sure that there are many people who are also such interested in it like me.

    I can't get in touch with Kent Hanson (QtScript maintainer) cos his mail (khansen@trol..ech.com) does not active.

    Can anyone help me, or QtScript module?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      The QtScript module still exists in Qt 5, but it will be based on JavaScriptCore, not V8.

      As far as I remember there was a discussion on porting it to V8, but the decision was to not to, because QtScript is heavily tied to JavaScriptCore and it just wouldn't be worth the effort.

      However, feel free to apply the effort on your own if it is worth for you. A good start is the "development mailing list":http://lists.qt-project.org/mailman/listinfo/development.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tucnak
        wrote on last edited by
        #3

        [quote author="Lukas Geyer" date="1352537847"]The QtScript module still exists in Qt 5, but it will be based on JavaScriptCore, not V8.

        As far as I remember there was a discussion on porting it to V8, but the decision was to not to, because QtScript is heavily tied to JavaScriptCore and it just wouldn't be worth the effort.

        However, feel free to apply the effort on your own if it is worth for you. A good start is the "development mailing list":http://lists.qt-project.org/mailman/listinfo/development.[/quote]

        Thanks for the quick reply, ~Lukas!

        As far as I understood from your replay - it will be possible to use QtScript functionality on Qt 5 but with old engine, yes?

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lgeyer
          wrote on last edited by
          #4

          Yes, Qt Script will be available as an addon. The successor in Qt 5 Essential is "QJSEngine":http://doc-snapshot.qt-project.org/5.0/qjsengine.html.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tucnak
            wrote on last edited by
            #5

            [quote author="Lukas Geyer" date="1352672219"]Yes, Qt Script will be available as an addon. The successor in Qt 5 Essential is "QJSEngine":http://doc-snapshot.qt-project.org/5.0/qjsengine.html.[/quote]

            thanks.

            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