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

androiddeployqt sets --release always when creating a signed package

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 6.2.0
    • None
    • Android

    Description

      androiddeployqt seems to be forcing a release build always when creating a signed package, this seems to be based on some assumption which doesn't seem to be true, and git history doesn't seem to show good reasoning behind it.

      It is possible to create both debug and release packages when signing on Android, so we shouldn't be enforcing this restriction on Qt app builds.

      The fix on androiddeloyqt is fairly simple by removing the part setting

      options.releasePackage = true;
      

      when processing the --sign arguments. However, it seems that QtC is also not respecting/setting the --release argument when calling androidtestrunner under AndroidApkBuildStep which means both sides need to have fixes for those issues to ensure things don't break.

      Attachments

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

        Activity

          People

            bartlomiejmoskal Bartlomiej Moskal
            assam Assam Boudjelthia
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes