PDA

View Full Version : QSystemTrayIcon supported image file types?



SkylineBob
24th January 2010, 17:48
Hi, I'm modifying a program and it uses 22x22 png images for the image that is displayed in the tray. I created my own 22x22 png image but it comes up as nothing but an empty space on the tray.

Why is this? How can fix it?

I've read the QSystemTrayIcon class reference but didn't find anything. Please help.

axeljaeger
6th February 2010, 10:27
Are you sure that you pixmap gets loaded successfull? First check the size of the image loaded to be different from 22x22 and then try to display your image in a QLabel.