Details
-
Suggestion
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.0.0
-
None
Description
There are a number of issues when using QML types from JS, where 'normal' JS usage rules do not apply. For example:
1. var Image = new Image() <- QML types cannot be newed like JS types
2. (myRect instanceOf Item) <- QML types do not work with instanceof
These issues need to be identified, and a plan for dealing with them developed.
Attachments
For Gerrit Dashboard: QTBUG-26357 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
230926,2 | QQmlTypeWrapper: Allow easy construction of QML types from JavaScript | dev | qt/qtdeclarative | Status: DEFERRED | 0 | 0 |