问题
How can I set an app icon in QT on Symbian? I read here http://doc.qt.nokia.com/4.6/appicon.html about hot to set it but it doesn't work for me. I created SVG-Tiny icon(file) and wrote ICON = Resource/ico.svg in the pro file. What is wrong?
Thanks in advance
回答1:
That should do it. Works for me. Things to check:
- Have you run qmake and rebuilt the project after editing the .pro file?
- In emulator environment, have you restarted the emulator?
- Check that your PKG file has rules to install both yourapp.rsc and yourapp.mif to \resource\apps on target
回答2:
you need to give the path of icon in your .pro file like this
ICON = Resource\ico.svg
i hope it helps.
来源:https://stackoverflow.com/questions/3164130/how-to-set-application-icon-in-qt-on-symbian