Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-93978

Incorrect default value for ANDROID_MIN_SDK_VERSION in documentation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 5.15.2
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Android

      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.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            pirox Iljin Alexander
            Reporter:
            pirox Iljin Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes