Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
5.14.2, 5.15.0 RC2
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
- duplicates
-
QTBUG-22787 Cannot set properties on QJSEngine's global object in initializeEngine()
- Closed
- is duplicated by
-
QTBUG-101298 Extending the Error class errors when trying to overwrite the `name` property
- Closed
- relates to
-
QTBUG-55058 Qt 5.7 QML breaks 3rd party JavaScript library
- Reported
-
QTBUG-66932 REGRESSION: Object.getOwnPropertyDescriptor returns wrong property descriptors for builtin objects
- Open
-
QTBUG-51597 QML compile time optimizations for global object
- Open
-
QTBUG-22356 Investigate support for 3rd party JS libraries
- Closed
-
QTBUG-126813 Type error thrown when assigning to properties of a WeakMap
- Closed
- mentioned in
-
Page Loading...