PDA

View Full Version : Using high res QIcons for OSX with retina display



Farris
7th August 2012, 10:00
I have an application that i want to make use high res icons on the new Macbooks with retina display.

Making qt use high res fonts can be done by adding the following

<key>NSHighResolutionCapable</key>
<true/>
to the application bundle's Info.plist file.


But how do get highres images ?
I'm using Qt 4.7.4 buildt with gcc for the MacOSX10.6.sdk

Even if i add really high res icons (double resolution) Qt seems to scale them down similarly to how it would if on a non-retina display.
Are there any flags i need to set? Or is this not yet availiable through Qt ?

msorvig
16th August 2012, 14:44
Hi, short story is we're working on it.

If you want to be a tester you can apply these changes which should fix the tool button case:

https://codereview.qt-project.org/#change,32908
https://codereview.qt-project.org/#change,32917

- Morten

Farris
24th August 2012, 08:58
Thats great news!

Thanks for replying here