[Interest] How are High DPI Icons supposed to work?

Thiago Macieira thiago.macieira at intel.com
Tue Sep 29 18:04:51 CEST 2015


On Tuesday 29 September 2015 17:49:29 Philippe wrote:
> Well, an application should be able to enable or disable HDPI support at
> Qt startup, programatically.

Agreed. But that means an API, not an environment variable.

Qt Creator did the same thing: it set the variable via qputenv in its main 
function. The result? That got inherited by all applications it ran. Worse, as 
soon as you began running Qt 5.6 applications, they all began producing 
qWarnings if you ran them inside Qt Creator.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list