-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
6.8.0
-
None
-
23ed52c1c (dev), 7cbb3c18b (6.9)
The documentation for QQmlPropertyMap states in a note:
Note: When deriving a class from QQmlPropertyMap, use the protected two-argument constructor which ensures that the class is correctly registered with the Qt Meta-Object System.
While this kind of explains it, it would be nice to add a small example of how to implement and use such a class.
| For Gerrit Dashboard: QTBUG-130592 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 610416,22 | QQmlPropertyMap: add an example of two argument constructor | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
| 613630,2 | QQmlPropertyMap: add an example of two argument constructor | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |