tags:

views:

83

answers:

2

I am trying to make an icon for my Qt 4.6.3 application, which is currently running on Symbian S60 5th edition. The application runs fine, except for its icon, which I have been unable to set by any means. I have read and tried a number of articles, including [1], [2], [3], [4] and [5], but in vain. What could I be doing wrong, or what should I try?

+2  A: 

The problem turned out to be related to qmake. For some reason (possibly related to DST changes), it did not detect the changes in my .pro file, and did not update the Makefile. The solution turned out to be three simple steps:

  1. Create and use an icon in SVG 1.1 Basic format.
  2. Add ICON = youricon.svg in the .pro file.
  3. Delete the file Makefile and rebuild the application.

This worked for me. I hope it works for you.

Hosam Aly
Yes this is the way to do it, but do note that Symbian is quite picky about the .svg files it accepts. They need to be SVG-Tiny formatted, and even then they might not work. Try with very simple graphics and work upwards in terms of complexity.
Teknolog
A: 

If you think you have done all the right steps and your icon isn't too complex, try restarting your device. Symbian has some icon cache and it is updated on restart.

Harmiih
Thank you. This is already mentioned in a number of the links referenced in my question.
Hosam Aly