Commit 85e1b4d0 authored by Friedemann Kleint's avatar Friedemann Kleint

Set environment variable QT_AUTO_SCREEN_SCALE_FACTOR in Qt 5.6.

Amends de3b2b64 to set the
variable.

Change-Id: I305e0d911e42f76ee6f93406c012000a63bf7bc5
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: default avatarPaul Olav Tvete <paul.tvete@theqtcompany.com>
parent 52ebfb0f
......@@ -299,6 +299,8 @@ int main(int argc, char **argv)
&& !qEnvironmentVariableIsSet("QT_DEVICE_PIXEL_RATIO")) {
qputenv("QT_DEVICE_PIXEL_RATIO", "auto");
}
#else
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
#endif // < Qt 5.6
QLoggingCategory::setFilterRules(QLatin1String("qtc.*.debug=false"));
......
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