Commit 36c8227c authored by Alessandro Portale's avatar Alessandro Portale
Browse files

App: (Re-)enable automatic HighDPI scaling for Linux

The original reason for disabling HighDPI scaling on Linux in

 was unhinted fonts for non-
scaled scenario: QTBUG-46435. That issue had been fixed long ago:

HighDPI support on Linux should by now be good enough to give it another
try by default.

Change-Id: I5b74f46310254c2916a2f16a7655d9f096453cc3
Reviewed-by: J-P Nurmi's avatarJ-P Nurmi <>
Reviewed-by: default avatarMarco Benelli <>
Reviewed-by: Eike Ziller's avatarEike Ziller <>
parent c9a9aadd
......@@ -161,7 +161,7 @@ static const char *setHighDpiEnvironmentVariable()
const char* envVarName = 0;
if (Utils::HostOsInfo().isWindowsHost()
if (!Utils::HostOsInfo().isMacHost()
&& !qEnvironmentVariableIsSet(ENV_VAR_QT_DEVICE_PIXEL_RATIO) // legacy in 5.6, but still functional
&& !qEnvironmentVariableIsSet("QT_AUTO_SCREEN_SCALE_FACTOR")
&& !qEnvironmentVariableIsSet("QT_SCALE_FACTOR")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment