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

CMake isn't exposing an aab target for Android projects

    XMLWordPrintable

Details

    • Android
    • 669b454378e228e50e371387c4ce3980b44a0156 (qt/qtbase/6.2) d162ce3732 (qt/tqtc-qtbase/6.3)

    Description

      CMake isn't adding a custom target for building aab packages, only apk custom targets exist. This will save us from having to call androiddeployqt manually with --aab flag.

      We should add both target specific and global aab custom targets, similar to the apk ones.

      In contrast to the apk targets, the proposal is to make aab targets not be part of ALL target, so running just 'ninja' won't create aabs, but it will create apks.
      The reason is that aabs are mainly used for store publishing and the default built aabs are not signed, so there's no need to use extra build space until the user knows they want to publish the aabs, in which case they can do that explicitly.

      Qt 5 CMake code can be checked for the aab creation command line flags.

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            assam Assam Boudjelthia
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes