QtScript module's future in Qt 5



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



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



  • 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 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.