Details
Description
Many types in Qt Locations have declarative wrappers through which they are exposed to the QML engine as objects. E.g. QDeclarativeRatings for QPlaceRatings. In practice however, these are value types that don't need to be instantiated by QML code, and instead always come from the engine (via search models etc).
We can convert those types to Q_GADGET, and remove those declarative wrappers. Tests to some degree assume that these properties are of object-type, those need to be adjusted.
Attachments
For Gerrit Dashboard: QTBUG-106482 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
431812,10 | Register QPlaceRatings as a value type | dev | qt/qtlocation | Status: MERGED | +2 | 0 |
431813,10 | Register QPlaceAttribute as a value type | dev | qt/qtlocation | Status: MERGED | +2 | 0 |
431814,10 | Register QPlaceIcon as a QML value type | dev | qt/qtlocation | Status: MERGED | +2 | 0 |
434978,8 | Register QGeoRoute as QML value type, remove QDeclarativeGeoRoute | dev | qt/qtlocation | Status: MERGED | +2 | 0 |