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

android:icon is deleted from AndroidManifest.xml when also roundIcon is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 13.0.2
    • Android Support
    • None
    • Linux/X11

    Description

      When I want to use icon and round icon in my Android project to support supporting adaptive icons (Android 13+), I need to have such declaration in my AndroidManifest.xml file:

          <application ..... android:roundIcon="@mipmap/ic_launcher_round"  android:icon="@mipmap/ic_launcher">

      {{When I switch between XML Source and General mode in the editor, coming back from the General mode, android:icon="@mipmap/ic_launcher" has been removed and the app gets installed without icon unless I insert the declaration again in XML Source mode again. }}

      Please see if you can recreate and work on it.

       

      I attach the manifest and compressed res folder if it helps testing.

      Attachments

        1. AndroidManifest.xml
          2 kB
        2. res.tar.gz
          220 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            portale Alessandro Portale
            tarmojohannes Tarmo Johannes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes