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 withf71a400bf6
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 asf71a400bf6
was picked as well. Pick-to: 5.15 Change-Id: I89a7193b711b8bf927d02907343a49d6f27082ce Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
parent
a8f531216e
commit
21b5c7875c
@ -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")
|
||||
|
@ -1,6 +1,6 @@
|
||||
API_VERSION_TO_USE = $$(ANDROID_API_VERSION)
|
||||
isEmpty(API_VERSION_TO_USE): API_VERSION_TO_USE = $$API_VERSION
|
||||
isEmpty(API_VERSION_TO_USE): API_VERSION_TO_USE = android-23
|
||||
isEmpty(API_VERSION_TO_USE): API_VERSION_TO_USE = android-28
|
||||
|
||||
ANDROID_JAR_FILE = $$ANDROID_SDK_ROOT/platforms/$$API_VERSION_TO_USE/android.jar
|
||||
!exists($$ANDROID_JAR_FILE) {
|
||||
|
Loading…
Reference in New Issue
Block a user