QtPositioning: add conan support
This patch adds conan support to QtPositioning part of the qtlocation
repo. Since QtLocation is not yet ready for Qt 6, this should work
fine. Later we will need a way to figure out, how to support two
modules in one repo.
The recipe uses Conan's supported way to inherit from a given
base class via 'python_requires_extend'.
The qt-conan-common package implements a base class for Qt leaf
module recipes. The build steps in leaf modules are mostly identical
so it makes sense to put those in the base class.
Dependencies are read by the base class from the 'dependencies.yaml'
which is the same file the CI system uses.
This recipe defines an option which should not be passed to
'qt-configure-module(.bat)' thus it implements the abstract
'is_qt_module_feature()' from the base class.
The base class reads the option(s) and default option(s) via
'get_qt_leaf_module_options()' and 'get_qt_leaf_module_default_options()'
which are merged by the base class into the base options defined
by the base class.
Pick-to: 6.2
Task-number: QTBUG-90800
Change-Id: Ie302d9566b2a49a80fe8dd251eb43d5f5af6aa0e
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>