Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Setting Application and Document icons with Qt 5.x for MacOS or Android
Forum Updated to NodeBB v4.3 + New Features

Setting Application and Document icons with Qt 5.x for MacOS or Android

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JMLA
    wrote on last edited by
    #1

    On MacOS you have normally a xxxx.icns for the application itself and a different xxx.icns for the document icon.
    http://qt-project.org/doc/qt-5/appicon.html gives some information how to have this automated on Mac,Windows or Linux. Unfortunately nothing is said for Android. In addition e.g. for Mac the doc proposes to insert in the .pro a line like :
    ICON = myapp.icns
    In my project it seems that the name "myapp" cannot be at random. Actually it has to be application.icns for the application icon and then it is possible to specify the same way the document icon with
    ICON = document.icns.

    But what about setting icons for an Android package?

    Thanks for any hint!

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JMLA
      wrote on last edited by
      #2

      You will find relevant information at

      http://www.kdab.com/qt-android-episode-3/

      about setting an Icon for an android app.
      Good luck.
      (I am fighting now with icons on MacOS and the QMAKE_INFO_PLIST variable)

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        @ICON = myapp.icns@

        Might be what you need

        Hope it helps

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved