Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-23032

Add to Environment the name of file in lowercase

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.10.0
    • None
    • All

    Description

      From some time Google requires Android APK names be lowercased. When creating Android apps the one Custom Build Step is always needed - rename android-build-release-signed.apk to final distribution name. Sometimes it needs be automatically copied. But if application has names with uppercase characters - then it's name must be entered in lowercase manually.

      Suggestion: add Envronment variable CurrentProject:FileNameLowcase which will contain same as CurrentProject:FileName but in lower case. After this process can be automated once for several different projects with (assuming this is in Linux):

      Command: cp
      Parameters: android-build-release-signed.apk /target/%{CurrentProject:FileNameLowcase}.companyname.com.apk
      Working dir: %{CurrentProject:BuildPath}/android-build/build/outputs/apk
      
      

      Attachments

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

        Activity

          People

            portale Alessandro Portale
            gourmand64 Gourmet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes