Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.7.0
-
None
-
Ubuntu 14.04, Qt 5.7.0
Description
The Example Usage section for Plugin includes the code:
Plugin { id: plugin preferred: ["here", "osm"] required: Plugin.AnyMappingFeatures | Plugin.AnyGeocodingFeatures }
However, using this QML...
Map { plugin: Plugin { preferred: ["here", "osm"] required: Plugin.AnyMappingFeatures } }
...produces the error:
qrc:/navigation/Navigation.qml:124 Invalid property assignment: "required" is a read-only property
Attachments
For Gerrit Dashboard: QTBUG-57419 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
196895,5 | Fix for Plugin.required being readonly | 5.9 | qt/qtlocation | Status: MERGED | +2 | 0 |