What is the size of the icon in the system tray to display the retina?

I created a Qt5 application using PyQt5, now I am adapting images for Retina Display compatibility on OS X. I duplicate them with the @ 2x modifier, but the fact is that I was not able to make the tray icon correctly, I think this is because I use the image in the wrong size. Somebody knows?

Blurry icon

+4
source share
1 answer

I don't know if this works with Qt, but you can use a combo file with Xcode.

Inside the terminal, you can combine both icons by running this command:

tiffutil -cathidpicheck tray_icon.png tray_icon@2x.png -out tray_icon.tiff
+1
source

Source: https://habr.com/ru/post/1544958/


All Articles