Important: Please read the Qt Code of Conduct -

Why my app Icon is not used?

  • 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:


    How can I changed that?

    Look this :)

Log in to reply