Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.2.0
-
None
Description
The documentation for the Plugin type states the following example:
Plugin { id: plugin preferred: ["here", "osm"] required: Plugin.AnyMappingFeatures | Plugin.AnyGeocodingFeatures }
This will create the following error message:
Unable to assign int to QDeclarativeGeoServiceProviderRequirements*
This API property has existed since 5.0 and 5.10 has even added a setter function for it. It seems to have never worked. I have a vague collection of this being conceived as usable when the user doesn't care which plugin to use as long as it has the right feature set.
In reality this was never used as users almost always select a specific plugin because they require a PLuginParameter set to set the app id/keys. A random selection simply makes no sense. The fact that I cannot find a single bug report about this break further underlines the missing usage.
I suggest to remove the "required" and "preferred" property from the Plugin type in Qt 6.