qt_android_compile_sdk_version

안드로이드 타겟 SDK 버전입니다.

이 프로퍼티는 Qt 6.9에 도입되었습니다.

참고: 이 프로퍼티는 Android 플랫폼을 타깃팅하는 경우에만 사용됩니다.

애플리케이션이 컴파일되는 Android SDK 버전을 지정합니다. 이 값은 build.gradlecompileSdkVersion 로 전파됩니다. 이 값은 androiddeployqt의 --android-platform 매개 변수를 통해 제공될 수 있으며, 이 CMake 속성보다 우선합니다.

set_target_properties(${target} PROPERTIES
    QT_ANDROID_COMPILE_SDK_VERSION 35
)

다음 형식도 사용할 수 있습니다:

set_target_properties(${target} PROPERTIES
 QT_ANDROID_COMPILE_SDK_VERSION "android-35"
)

qt_android_generate_deployment_settings()QT_ANDROID_TARGET_SDK_VERSION도참조하세요 .

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