devicePixelRatio = 1 (wrong) for macbook retina display. Images and text blurred.

  • Hi I've been working on an application in Qt for a few months now and out of nowhere it started rendering fonts and icons blurry. I checked my logs where I spit out the devicePixelRatio of the main window's screen and instead of being 2 (which it was before - I am developing on a retina macbook) it is now 1 (same machine).

    my Info.plist file has:


    as well as in main.cpp I am setting my application to use highdpi:


    Any help very much appreciated!


  • Lifetime Qt Champion


    Which version of Qt are you using ? On which version of OS X ?

  • Might it be due to this known issue?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.