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?
-
Hi
Did you make your icon 256x256 ?
https://www.wikihow.com/Create-a-Windows-IconAlso is it multi resolution ?
https://www.howtogeek.com/65291/how-to-make-your-own-custom-windows-7-icons-out-of-any-image/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. -
@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.