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

Qt Creator removes user-defined "android:icon" attribute from AndroidManifest.xml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • Qt Creator 13.0.2, Qt Creator 14.0.0, Qt Creator 15.0.0
    • Android Support
    • None
    • All

    Description

      QtCreator expect icon declaration being exactly android:icon="@drawable/icon" and removes any other values (e.g. android:icon="@mipmap/ic_launcher")

      Nowadays whole Qt Creator's icon set generator feature become useless, as it generates only 'legacy' icon set for devices with Android API level 24 and older. Actually you use an icon set generated by external tool (with newer adaptive and monochrome icons) and add definition to AndroidManifest.xml, common value here is android:icon="@mipmap/ic_launcher", its annoying that "Android Manifest Editor" removes it each time you double clicked at  AndroidManifest.xml in project tree.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-25541
          # Subject Branch Project Status CR V

          Activity

            People

              portale Alessandro Portale
              morte Maxim Bescherevnykh
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change