Important: Please read the Qt Code of Conduct -

Deploying on Windows but not working on Mac

  • Hi,

    I have a project that worked pretty fine on both platforms, now I wanted to add a Icon to my application by setting
    @ ICON = :/images/Logo.png@ in my .pro File. Works fine on Windows but not on mac.

    On Mac I get the following error
    @Fehler: target pattern contains no `%'. Stop.@

    And it points me to this line here in the makefile: ../myproject/:/images/Logo.png@

    Maybe I have to add that I started with the terminal example and saved it under different name, thats why its called I think.


  • Did you read that ?

    I think you cannot use icons from Qt resource system.

Log in to reply