diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-12-07 16:36:12 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-12-15 20:23:28 +0100 |
commit | b43a39977b9eeea344eea5ee4e71a6586d512fb6 (patch) | |
tree | 53d3c939f713d0929bcb4fb40720dd20428aa64c /qmake/doc | |
parent | 5e00c0c5e55c5a87b19655947d97ca6192e02e1e (diff) |
CMake: Deprecate some android public APIs
Deprecate usage of:
- qt_android_add_apk_target
- qt_android_apply_arch_suffix
- qt_android_generate_deployment_settings
when used by user projects directly. Instead, projects should use
qt_add_executable / qt_add_library.
Show a deprecation warning when the commands are used directly.
The deprecation warnings can be silenced using cmake's
-Wno-deprecated command line option.
To detect non-direct usage from inside our own function
implementations, we set some target properties which are then read to
decide whether to show the message.
Pick-to: 6.5
Fixes: QTBUG-108508
Change-Id: Ib039cc5f3a01c2276173abb1e43f4eed216d0170
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'qmake/doc')
0 files changed, 0 insertions, 0 deletions