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

Qt clears icon from AndroidManifest evertime i look into AndroidManifest via Qt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • Qt Creator 14.0.2
    • Android Support
    • None
    • Qt Creator 14.0.2 but also olderones did same... i remember this issue AT LEAST half year
    • All
    • 2024wk46s3FOQtforAndroid

    Description

      not sure how icons I did set, I thinkg i generated them via https://icon.kitchen/ as it can give me new Android style (background and foreground separately in order to have monochrome).

      then I did set into <application> my entry:

      android:icon="@drawable/ic_launcher"

      which works perfectly! icons are the best

      every time i open, close QT, clean, rebuild.. all works fine forewer

      until I manualy go to AndroidManifest file via QT creator (doesnt matter if only int General Tab, or to XML Source tab), do nothing there, get out to look into different file... immidiately I see androidmanifest has some changes...

      first of all it reformats the manifest (so I no longer can have my XML attribute nicely each one in each line inside the element... so Qt Creator reformats all attributes inside element into one line always.

      and second of all no idea why, it always removes the attribude android:icon="@drawable/ic_launcher" from element <application>

       - hopefully its the only thing Qt creators deletes

       

      so every time i build then my icons are gone, because everytime i (accidently) click to AndroidManifest and get in there, then Qt removes the icon attribute and reformats whole manifest.

      Attachments

        Issue Links

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

          Activity

            People

              assam Assam Boudjelthia
              shokarta Jiri Zaloudek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes