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

Incorrect default value for ANDROID_MIN_SDK_VERSION in documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.15.2
    • None
    • 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

            pirox Iljin Alexander
            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