Hi,
I'm using the Qt 4.5.2 SDK with MinGW to develop a program with a system tray icon on Windows.
On the dev machine, this program works just as expected. When I deploy it to a different machine, the icon in the system tray is blank/missing!
I've tried loading the icon both from a file and from a resource and the same thing happens. I've also noticed that I can't even save the icon on the systems that the bug appears on (with QIcon:: pixmap::save).
The dev machine is an XP SP2, but I have encountered the bug both on SP1 and on SP2.
I'm doing a simple deployment by copying the Qt and mingw dlls and the exe.
Later edit: after doing some more testing, it seems that this happens only for ico files. BMPs work, with the obvious disadvantage of having no transparency.
Bookmarks