Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
Qt Creator 14.0.2
-
None
-
Qt Creator 14.0.2 but also olderones did same... i remember this issue AT LEAST half year
-
-
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
- duplicates
-
QTCREATORBUG-24879 The AndroidManifest editor removes all custom android:icon and splashscreen definitions
- Open