Qt 5.14 hi-res adjustments, as HI-DPI screen handling has changed

* see // https://lists.qt-project.org/pipermail/development/2019-September/037434.html
* qss adjustemnts
* larger default sizes for core/launcher/client for 1920x1080 screens
This commit is contained in:
Klaus Basan
2020-01-03 19:12:29 +01:00
committed by Mat Sutcliffe
parent 2a3fd0e94c
commit 8eaa4f7f15
9 changed files with 940 additions and 938 deletions

View File

@@ -328,9 +328,11 @@ namespace BlackGui
void CGuiApplication::highDpiScreenSupport(double scaleFactor)
{
// https://lists.qt-project.org/pipermail/development/2019-September/037434.html
if (scaleFactor < 0)
{
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
// qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1"); // until 5.14
qputenv("QT_ENABLE_HIGHDPI_SCALING", "1");
}
else
{