I am having a situation using QSystemTrayIcon
to set an icon into it. I have a 16x16 icon in png format. With the following code:
m_pTray开发者_运维知识库->setIcon(QIcon (":/res/systemtray.png"));
The icon still not showing up. May I know is it something to do with the path? I have set the full path but still not working.
I am doing it in VS2005. May I know is there a workaround for this?
THanks!
精彩评论