Change android target SDK version to 31

Play Store now accept only app with target
SDK version set to 31 or above

Change-Id: I7f7fb677798c3f2d3ce327226ac13a69f0bab442
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
Fabio Falsini 2023-03-20 22:05:03 +01:00
parent 29bc561de5
commit dffc67e6f2
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ isEmpty(ALL_ANDROID_ABIS): ALL_ANDROID_ABIS = arm64-v8a armeabi-v7a x86_64 x86
CONFIG += $$ANDROID_PLATFORM
ANDROID_MIN_SDK_VERSION = $$replace(ANDROID_PLATFORM, "android-", "")
ANDROID_TARGET_SDK_VERSION = 30
ANDROID_TARGET_SDK_VERSION = 31
NDK_LLVM_PATH = $$NDK_ROOT/toolchains/llvm/prebuilt/$$NDK_HOST
QMAKE_CC = $$NDK_LLVM_PATH/bin/clang

View File

@ -1102,7 +1102,7 @@
\note This variable applies only to Android targets.
Specifies the target Android API level for the project. By default, this
variable is set to API level 30.
variable is set to API level 31.
\target ANDROID_VERSION_CODE
\section1 ANDROID_VERSION_CODE

View File

@ -163,7 +163,7 @@ struct Options
QString versionName;
QString versionCode;
QByteArray minSdkVersion{"23"};
QByteArray targetSdkVersion{"30"};
QByteArray targetSdkVersion{"31"};
// lib c++ path
QString stdCppPath;