during developing another qt application i came accross the following articel
Since i am working with a notebook and an external 4k screen, i am facing some display issues when it comes to the high DPI problematic.
I kwow that windows(10) does not fully support a high dpi scalling for all appplications. Some of them just look blurry, depending on what screen it is opened.
Also working with FC shows some minor display issues. I tried the code suggested in the articel. See the differents.
The Code change in src\Gui\Application.cpp line 1906
Maybe some windows user also can test and check if this improves the behaviour.
Code: Select all
#if QT_VERSION >= 0x050600 //Enable automatic scaling based on pixel density of display (added in Qt 5.6) //QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); SetProcessDPIAware(); // call before the main event loop QApplication::setAttribute(Qt::AA_DisableHighDpiScaling); #endif
A set of links to dpi topics