|
|
Introduce the qt6_add_android_dynamic_features function. The function
marks the targets specified in the FEATURE_TARGETS argument as dynamic
features, assigned to the specific Android application target.
The dynamic feature target must be the SHARED_LIBRARY and not the
Android target of type different from the DYNAMIC_FEATURE type.
The design allows many-to-many component linking, so multiple Android
applications may use same dynamic feature, and single Android
application may use many dynamic features.
Dynamic features are deployed as part of the main Android application
aab and use the QT_ANDROID_MODERN_BUNDLE as the required pre-requisite.
Limitations:
- Dynamic features only implemented for the single ABI builds.
- Dynamic features are not tested and proved in multi-config builds.
- Qt disallowed to provide the store API to load dynamic features.
Users need to follow Qt guidelines and documentation to implement
own feature delivery.
Task-number: QTBUG-116683
Task-number: QTBUG-124600
Change-Id: Idf10d481cedfe1cb5bd08c86e57a844e502bd6ff
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
|