QT_ANDROID_레거시_패키징

Android 앱의 레거시 패키징.

이 속성은 Qt 6.11에서 도입되었습니다.

참고: 이 속성은 Android 플랫폼을 대상으로 하는 경우에만 사용됩니다.

앱이 레거시 패키징을 사용할지 여부를 지정합니다. 레거시 패키징이 ` TRUE`로 설정된 경우, 앱 APK에는 설치 시 기기에서 압축이 해제되는 압축된 라이브러리가 저장되며, 앱은 해당 라이브러리를 로드합니다. 반면, ` FALSE`로 설정된 경우 라이브러리는 압축되지 않은 상태로 유지되며, 앱은 APK 패키지에서 직접 라이브러리를 로드할 수 있고, 라이브러리는 사용 시 메모리에 매핑됩니다.

set_target_properties(${target} PROPERTIES
    QT_ANDROID_LEGACY_PACKAGING TRUE
)

참고: Address Sanitizer를사용하려면 이 설정을 TRUE 로 설정해야 합니다.

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.