Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Icon for program becomes blurry
Hi. I followed this guide: http://doc.qt.io/qt-5/appicon.html for setting up an icon for my program. The .ico file itself looks correct as shown when the file is on the desktop, but after building my program and moving it to the desktop, the icon is very blurred compared to, and it looks like it has been stretched. On the other hand, it looks fine if I change the desktop icon size to either small or big, the problem is only there when medium (default) size is selected.
Does anyone got idea of what could be wrong here?
Did you make your icon 256x256 ?
Also is it multi resolution ?
Normally its the icon :)
@mrjj Yes I made the icon in IcoFX with a size of 256x256 and saved it as an .ico file.
On the desktop, the .ico file shows perfectly sharp as the way I created it, and I opened it in Visual Studio in it's .ico editor and saw all the different sizes were there, in sharp quality too. But with my program it is not the same quality, which can easily be seen when I place it next to the original .ico file.
Hmm it sounds in order then.
I cant think of anything else
-But with my program it is not the same quality
Where do you see this ? im not sure in where its ugly.
what Qt and what platform are you on ?
@mrjj I'm on Windows 10 and am using Qt 5.10.
"But with my program it is not the same quality" - I meant that when I move the .exe onto the desktop, the icon shown is blurred. That is however not the case for the icon that is shown for the .ico file itself.
ok, if you right click your exe and go properties and change icon, does
it show your icon there in ok resolution ?