Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-81312

App icon is not added to APK when using CMake

    XMLWordPrintable

    Details

    • Platform/s:
      Android

      Description

      When one add an app icon in the QtCreator 10.2 AndroidManifest form (all three resolutions) then the icon is correctly added in <Android template folder>res/drawable... and the property AndroidManifest.xml/application/android:icon ist correctly set to @drawable/icon.

      But when buiding the APK is build then the <output directory>/.../res/drawable... doesn't exist and the property application/android:icon doesn't exist in AndroidMainifest.xml so that in effect the icon is not visible when installing the APK to and Android device because it's probably not copied into the APK.

      Maybe it's caused androiddeployqt / main.cpp because there is no code passage with "android:icon" to be found.

        Attachments

        1. app-icon-bug.zip
          225 kB
        2. cmake_icon_example.zip
          30 kB
        3. Screenshot-build-output.png
          Screenshot-build-output.png
          39 kB
        4. Screenshot-icon.jpg
          Screenshot-icon.jpg
          31 kB
        5. Screenshot-qtcreator.png
          Screenshot-qtcreator.png
          113 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            assam Assam Boudjelthia
            Reporter:
            codezeug codezeug
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes