Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Deploying on Windows but not working on Mac
Qt 6.11 is out! See what's new in the release blog

Deploying on Windows but not working on Mac

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 643 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.
  • T Offline
    T Offline
    tsaG1337
    wrote on last edited by
    #1

    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:
    @terminal.app/Contents/Resources/Logo.png: ../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 terminal.app I think.

    Thanks!

    1 Reply Last reply
    0
    • E Offline
      E Offline
      euchkatzl
      wrote on last edited by
      #2

      Did you read that ?

      http://qt-project.org/doc/qt-4.8/appicon.html

      I think you cannot use icons from Qt resource system.

      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