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. Why my app Icon is not used?

Why my app Icon is not used?

Scheduled Pinned Locked Moved Solved General and Desktop
1 Posts 1 Posters 153 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.
  • Q Offline
    Q Offline
    qwe3
    wrote on last edited by qwe3
    #1

    Hi,

    I have strange problem.

    When I compile my code I have my custom .exe icon. In .pro I have:

    RC_ICONS = resources/myCustomIcon.ico

    And it works.

    But when I add to my .pro lines ( there are before RC_ICONS ):

    win32 {
        RC_FILE = myRcFile.rc
    }
    

    My compiled .exe has default windows icon:

    icon.png

    How can I changed that?

    EDIT:
    Look this :)
    https://doc.qt.io/qt-5/appicon.html

    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