Skip to content

Commit

Permalink
Change android target SDK version to 31
Browse files Browse the repository at this point in the history
Play Store now accept only app with target
SDK version set to 31 or above

Change-Id: I7f7fb677798c3f2d3ce327226ac13a69f0bab442
Reviewed-by: BogDan Vatra <[email protected]>
  • Loading branch information
FalsinSoft committed Mar 21, 2023
1 parent 29bc561 commit dffc67e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mkspecs/android-clang/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion qmake/doc/src/qmake-manual.qdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/tools/androiddeployqt/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ struct Options
QString versionName;
QString versionCode;
QByteArray minSdkVersion{"23"};
QByteArray targetSdkVersion{"30"};
QByteArray targetSdkVersion{"31"};

// lib c++ path
QString stdCppPath;
Expand Down

0 comments on commit dffc67e

Please sign in to comment.