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

androiddeployqt sets --release always when creating a signed package

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.2.0
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      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

            Assignee:
            qtandroidteam Qt Android Team
            Reporter:
            assam Assam Boudjelthia
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes