Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.15.2
-
None
Description
Reference page states for QMake vaiable ANDROID_MIN_SDK_VERSION the following: ANDROID_MIN_SDK_VERSION
ANDROID_MIN_SDK_VERSION
Note: This variable applies only to Android targets.
Specifies the minimum Android API level for the project. By default, this variable is set to API level 21.
While file mkspecs\android-clang\qmake.conf contains the fillowing defenition of ANDROID_MIN_SDK_VERSION
ANDROID_MIN_SDK_VERSION = $$replace(ANDROID_PLATFORM, "android-", "")
This leads to unexpected deploy error, because result APK can not be installed on the device with android API lesser than that was used in ANDROID_PLATFORM variable.