diff --git a/mkspecs/android-clang/qmake.conf b/mkspecs/android-clang/qmake.conf index 61a71ab61c..a3f2247068 100644 --- a/mkspecs/android-clang/qmake.conf +++ b/mkspecs/android-clang/qmake.conf @@ -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 = 31 +ANDROID_TARGET_SDK_VERSION = 33 NDK_LLVM_PATH = $$NDK_ROOT/toolchains/llvm/prebuilt/$$NDK_HOST QMAKE_CC = $$NDK_LLVM_PATH/bin/clang diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc index 875a1ac56d..1ee5b65c2b 100644 --- a/qmake/doc/src/qmake-manual.qdoc +++ b/qmake/doc/src/qmake-manual.qdoc @@ -1088,7 +1088,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 31. + variable is set to API level 33. \section1 ANDROID_VERSION_CODE diff --git a/src/android/jar/build.gradle b/src/android/jar/build.gradle index c947852f79..14b629f0e9 100644 --- a/src/android/jar/build.gradle +++ b/src/android/jar/build.gradle @@ -23,12 +23,12 @@ repositories { } android { - compileSdkVersion 31 - buildToolsVersion "31.0.3" + compileSdkVersion 33 + buildToolsVersion "33.0.3" defaultConfig { minSdkVersion 23 - targetSdkVersion 31 + targetSdkVersion 33 } sourceSets { diff --git a/src/network/android/jar/build.gradle b/src/network/android/jar/build.gradle index c947852f79..14b629f0e9 100644 --- a/src/network/android/jar/build.gradle +++ b/src/network/android/jar/build.gradle @@ -23,12 +23,12 @@ repositories { } android { - compileSdkVersion 31 - buildToolsVersion "31.0.3" + compileSdkVersion 33 + buildToolsVersion "33.0.3" defaultConfig { minSdkVersion 23 - targetSdkVersion 31 + targetSdkVersion 33 } sourceSets { diff --git a/src/plugins/networkinformation/android/jar/build.gradle b/src/plugins/networkinformation/android/jar/build.gradle index c947852f79..14b629f0e9 100644 --- a/src/plugins/networkinformation/android/jar/build.gradle +++ b/src/plugins/networkinformation/android/jar/build.gradle @@ -23,12 +23,12 @@ repositories { } android { - compileSdkVersion 31 - buildToolsVersion "31.0.3" + compileSdkVersion 33 + buildToolsVersion "33.0.3" defaultConfig { minSdkVersion 23 - targetSdkVersion 31 + targetSdkVersion 33 } sourceSets { diff --git a/src/tools/androiddeployqt/main.cpp b/src/tools/androiddeployqt/main.cpp index 134f8b2db5..a607131716 100644 --- a/src/tools/androiddeployqt/main.cpp +++ b/src/tools/androiddeployqt/main.cpp @@ -163,7 +163,7 @@ struct Options QString versionName; QString versionCode; QByteArray minSdkVersion{"23"}; - QByteArray targetSdkVersion{"31"}; + QByteArray targetSdkVersion{"33"}; // lib c++ path QString stdCppPath;