How to set Application Icon in QT on Symbian?

有些话、适合烂在心里 提交于 2019-12-10 21:37:02

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!