Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-12502

Evaluate the V8 JavaScript engine for Qt



    • Type: Task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Qt Script
    • Labels:
    • Technical Risk:


      Evaluate using the V8 JavaScript engine for Qt WebKit, Qt Script, and Qt Quick.

      Architecture vision

      Qt has currently two JavaScript engines, JavaScriptCore as a part of Qt WebKit, and another copy of JavaScriptCore as the engine for Qt Script. Qt Script is also used as the JavaScript engine for Qt Quick (QML). The target architecture is to have a common JavaScript engine for Qt WebKit, Qt Script and QML.


      • Mix QML and WebKit in the same app seamlessly, using a single JavaScript environment
      • Use HTML5 web application APIs in QML applications
      • Use the Qt Script API to extend WebKit's JS environment in hybrid apps and Qt WRT
      • Less memory usage thanks to using just one JS engine

      QTBUG-11464 describes ongoing work to unify Qt WebKit and Qt Script to use the same copy of JavaScriptCore

      JavaScript engine evaluation

      This task is for evaluating, whether we should use the V8 engine or the JavaScriptCore engine as the common JavaScript engine for Qt.

      Evaluation criteria:

      • Technical merits: performance, library size, features, concurrency support
      • Technical feasibility of using the engine in the Qt architecture vision
      • API stability, coverage, quality and extensibility
      • Community openness: roadmap visibility, getting support and review from the community, becomming a part of the community


        No reviews matched the request. Check your Options in the drop-down menu of this sections header.



            • Assignee:
              shausman Simon Hausmann
              hehaveri Henry Haverinen (Inactive)
            • Votes:
              11 Vote for this issue
              21 Start watching this issue


              • Created:

                Gerrit Reviews

                There are no open Gerrit changes