Just going to add some more recent information to this post.
As of February 2024, this problem still exists.
Adding the following to the CMakeLists.txt file is only part of the solution:
set_target_properties(YourProjectName PROPERTIES QT_ANDROID_TARGET_SDK_VERSION "34" )
I'm not even sure if this is necessary. It looks like SDK 33 is the default.
But the real issue is that the API version isn't getting set by whatever scripting magic is happening under the hood.
I had to modify the build.gradle file as follows:
defaultConfig {
resConfig "en"
// minSdkVersion qtMinSdkVersion
// targetSdkVersion qtTargetSdkVersion
minSdkVersion 33
targetSdkVersion 33
ndk.abiFilters = qtTargetAbiList.split(",")
}
I would appear that the qtMinSdkVersion and qtTargetSdkVersion are being set to version 23 which isn't supported by the Google Play Store console. Of course, I agree that Android is a mess. The fact that there's no way to know what API version is being used until you upload it is a pain. There probably is a way to inspect the .aab file but I didn't have time to look for one. Then, there's the annoying user-interface on the Play Store console where it's a challenge to find where to actually delete an aab file. It's not in the Release screen where it should be.