Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Scheduled QJSEngine improvements?
Forum Updated to NodeBB v4.3 + New Features

Scheduled QJSEngine improvements?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.2k 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
    tdewolf
    wrote on last edited by
    #1

    I wrote a wonderfully useful Qt 4.8.3 application, not my first, which I use in the laboratory work I do. I fully incorporated QtScript..it plays an important role in how I use the program, basically letting me expose core functionality to JavaScripts that I make to control the lab hardware in my own way. I understand and appreciate the QJSEngine in Qt5 has the speed, etc., enhancements of V8--but I feel like the switch was a little beta--unfinished even. I do understand from the Qt bug database that technical issues arose in trying to implement full JavaScript to Qt signals-slots. But, as an example, what about a smoother transition--such as the inclusion of the constructors that allow me to JavaScript new a QObject? The Qt 4.8.3 'Making Applications Scriptable' was a masterpiece. Now, QtScript has evidently been tagged as obsolete and so I would have to rework a few things. Can we count on Qt for a stable an consistent API in the future?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      QtScript is not going away for the whole life of Qt5, so no worries. It's also still a maintained module.

      V8 indeed proved a bit problematic in some areas, but was ported well enough to be used in QtQuick 2. v4vm is also in the making. I don't know official plans for the API, though, that is a question better suited for Qt development mailing list or IRC.

      (Z(:^

      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