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. [MacOS] ICON not showed in Sierra computers

[MacOS] ICON not showed in Sierra computers

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 248 Views
  • 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
    Juan Garcia
    wrote on last edited by
    #1

    I'm generating a new app that have as target MacOS. I'm setting the app icon using this in my .pro file:

        ICON = $$PWD/images/Myapp.icns
    

    Also, I'm setting that:

       QMAKE_MAC_SDK = macosx10.13
       QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.12
    

    I'm building using XCode 8.3.3 over MacOS High Sierra. The issue is that icon appears in Dock, Launchpad and Applications folder in High Sierra computers but not in Sierra computers. I have check that .icns is in Resources folder of the bundler and Info.plist contains information about CFBundleIconFile:

    <key>CFBundleIconFile</key>
    <string>myAppImage.icns</string>
    

    How I can solve this issue in Sierra. I have to say that I previously have installed debug versions in the same Sierra computer that didn't have icon set. Any cache issue with applications and icons?

    Thanks in advance.

    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