QT_ANDROID_LEGACY_PACKAGING

Das Legacy-Paket für Android-Anwendungen.

Diese Eigenschaft wurde in Qt 6.11 eingeführt.

Hinweis: Diese Eigenschaft wird nur verwendet, wenn die Android-Plattform angestrebt wird.

Gibt an, ob die App Legacy-Packaging verwendet. Wenn Legacy-Packaging auf TRUE gesetzt ist, speichert das APK der App komprimierte Bibliotheken, die während der Installation auf dem Gerät extrahiert werden, und die App würde diese Bibliotheken laden. Andernfalls, wenn es auf FALSE gesetzt ist, bleiben die Bibliotheken unkomprimiert und die App kann sie direkt aus dem APK-Paket laden und die Bibliotheken werden bei Verwendung dem Speicher zugeordnet.

set_target_properties(${target} PROPERTIES
    QT_ANDROID_LEGACY_PACKAGING TRUE
)

Hinweis: Bei Verwendung des Address Sanitizer muss diese Option auf TRUE gesetzt werden.

Siehe auch qt_android_generate_deployment_settings().

© 2026 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.