[Interest] Qt4 Retina support

Sorvig Morten Morten.Sorvig at digia.com
Fri Jan 11 14:20:01 CET 2013


On Jan 11, 2013, at 2:10 AM, Vadim Peretokin <vperetokin at gmail.com> wrote:

> Hi,
> 
> What is the current status of Retina support with Qt4?
> 
> I found https://github.com/msorvig/qt4-hidpi, the bugreport and the plist suggestions - but it's not clear as to what one should do to fix the blurriness (and unsuitability) of apps.

Start with the plist - that should give you crisp text and mac style. 

msorvig/qt4-hidpi contains new API for dealing with 2x images, as well as fixes to make Qt handle those correctly.

tests/manual/hidpi contains test cases showing the new API in action:
- loading @2x images
- setting QT_HIGHDPI_AWARE to make Qt (QIcon, QStyle) generate 2x pixmaps and images
- using devicePixelRatio 

Morten




More information about the Interest mailing list