qt_android_compile_sdk_version
AndroidターゲットSDKのバージョン。
このプロパティはQt 6.9で導入されました。
注: このプロパティは、Androidプラットフォームをターゲットとする場合にのみ使用されます。
アプリケーションがコンパイルされる Android SDK のバージョンを指定します。これはcompileSdkVersion
としてbuild.gradle
に伝わります。この値は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.