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

ECMAScript / Javascript Engine builtin objects are immutable (frozen)

    XMLWordPrintable

Details

    • Windows

    Description

      As already reported in other issues, multiple external (3rd party) JS libraries are unusable in Qt / QML as they depend on altering (replacing) builtin objects properties / functionalities. This should be possible but results in

      TypeError: Type error
      

      In our case, it is pdfMake but has already been reported to break the usage of sugar.js (see unresolved QTBUG-55058 and others since Qt 5.7.

      It seems there "once was" an idea to resolve this issue, but did never make it into release and was abandoned.

      Obviously it would greatly improve feasibility of JS oriented projects implemented with Qt / QML, if external JS libraries could be used with less hassle and pain.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-84341
          # Subject Branch Project Status CR V

          Activity

            People

              qtqmlteam Qt Qml Team User
              attisan Attila Santo
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes