QT_ANDROID_LEGACY_PACKAGING
The Android app legacy packaging.
This property was introduced in Qt 6.11.
Note: This property is used only if targeting the Android platform.
Specifies whether the app uses legacy packaging. When legacy packaging is set to TRUE
, the app APK will store compressed libraries that are extracted on the device during installation, and the app would load those libraries. Otherwise, when set to FALSE
, the libraries will remain uncompressed and the app can load them directly from the APK package and the libraries are mapped to memory when used.
set_target_properties(${target} PROPERTIES QT_ANDROID_LEGACY_PACKAGING TRUE )
Note: Using the Address Sanitizer require this to be set to TRUE
.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.