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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There is 1 open Gerrit change