Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.3, 6.8, 6.9
-
None
-
77a20c00e (dev), c4e64d082 (6.8)
Description
Type assertions ("as-casts") fail for inline components if there are no function that takesĀ that type as an argument. Adding such a function makes the assertion succeed; the function does not need to be called. This also seems to apply to types defined in local QML files.
To reproduce, run the attached bug.qml file with the qml tool.
Attachments
For Gerrit Dashboard: QTBUG-131394 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
606094,3 | QtQml: Require VME MetaObjects for types with inline components | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
606891,2 | QtQml: Require VME MetaObjects for types with inline components | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |