View Single Post
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#30
Originally Posted by Sasler View Post
I got the countdowntimer.png in <app root>\data\64x64\ directory. But I only get the default blue icon.
Hmmm...the icon is not in the package. try to add "icon64" under INSTALLS and write the name of the png instead of using the variable, which gives you more control. This should do it. At least it adds it to the package. I haven't tested it if it shows up or not. But anyway, here are the changes:

Code:
INSTALLS += target desktop icon64

  target.path =$$BINDIR

  desktop.path = $$DATADIR/applications/hildon
  desktop.files += countdowntimer.desktop

  icon64.path = $$DATADIR/icons/hicolor/64x64/apps
  icon64.files += ../data/64x64/countdowntimer.png
Further there is a bug, so that the icon-cache is not updated correctly. So try a restart as well if it does not show up

Daniel
 

The Following User Says Thank You to danielwilms For This Useful Post: