Feature request #11103

Updated by Denis Rouzaud about 6 years ago

Currently QGIS does not support Retina displays (HiDPI), such as on the current MacBook Pro. The application loads, but is running in a low-resolution upscaled mode which makes everything look pixelated. See attached screenshot (qgis_lowdpi.png).



The Qt blog has some information on supporting retina displays in Qt applications:



http://blog.qt.digia.com/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/



The first step is to add the following to the Info.plist file:



<pre>

<key>NSPrincipalClass</key>

<string>NSApplication</string>

<key>NSHighResolutionCapable</key>

<string>True</string>

</pre>



This tells the application that it's capable of HiDPI rendering, which gets text and buttons to render correctly. See attached screenshot (qgis_hidpi.png).



However, the map canvas itself, and (most) of the icons are still pixelated. To "fix" the icons, they need hi resolution versions available. The blog post discusses this a little, but I've not had any success so far in getting QGIS to recognise larger versions of the icons. The other step will be to tell the canvas to renderer at a higher DPI - no idea how to get this working.



I've asked a question on stack overflow here:



http://stackoverflow.com/questions/25494230/adding-support-for-retina-displays-hidpi-to-an-existing-qt4-application



Myself (@snorfalorpagus) and Dale Kunce ‏(@calimapnerd) have an interest getting this working:



https://twitter.com/calimapnerd/status/381016157920055297

Back