summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2020-06-04 08:17:40 +0200
committerAlex Blasche <alexander.blasche@qt.io>2020-06-23 16:39:04 +0200
commit21b5c7875cc39c575b14b190add676a5b96fb0b5 (patch)
tree7badc4143f91673ea7a95a939b1517a7d92bf30e /cmake
parenta8f531216e17c6520858b038b5fba40200347a43 (diff)
Raise the Android SDK build requirement to lvl 28 - compile fix
First of all cmake and qmake used a different standard. Secondly, the qmake logic enforced lvl 23 (if it was installed which is the case on the failing machine). When this is combined with f71a400bf61 which requires lvl 28 API to build, the android build fails to compile. cmake logic was even worse as it enforced lvl 21 API to be used if installed. This change requires pick to 5.15 as f71a400bf61 was picked as well. Pick-to: 5.15 Change-Id: I89a7193b711b8bf927d02907343a49d6f27082ce Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtPlatformAndroid.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtPlatformAndroid.cmake b/cmake/QtPlatformAndroid.cmake
index 24360cec67..15f40f42c3 100644
--- a/cmake/QtPlatformAndroid.cmake
+++ b/cmake/QtPlatformAndroid.cmake
@@ -40,7 +40,7 @@ function(qt_get_android_sdk_jar_for_api api out_jar_location)
endfunction()
# Minimum recommend android SDK api version
-set(QT_ANDROID_API_VERSION "android-21")
+set(QT_ANDROID_API_VERSION "android-28")
# Locate android.jar
set(QT_ANDROID_JAR "${ANDROID_SDK_ROOT}/platforms/${QT_ANDROID_API_VERSION}/android.jar")