Qt Creator“太大了"在 3840x2160 上,在 Windows 10 上缩放 150% [英] Qt Creator "too big" on 3840x2160 and 150% scaling on Windows 10

查看:252
本文介绍了Qt Creator“太大了"在 3840x2160 上,在 Windows 10 上缩放 150%的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Windows 10 上安装了 Qt 5.10 SDK.我以为 Qt 5.6 中修复了 HiDPI 问题,但 Qt Creator 似乎仍然太大":

I installed Qt 5.10 SDK on Windows 10. I thought that the HiDPI issues were fixed in Qt 5.6, but Qt Creator still seems to be "too big":

我错过了什么吗?我的分辨率是 3840x2160,推荐"缩放比例为 150%.后台的 Visual Studio 大小正确.

Am I missing something? My resolution is 3840x2160 with the "recommended" 150% scaling. Visual Studio in the background is of the correct size.

推荐答案

它可能有自己的 hidpi 功能,不像传统的 windows 东西只是直接高档,所以它在你的显示器上看起来更大,这被放大了您已应用的缩放比例.

It probably has its own hidpi functionality, unlike the legacy windows stuff that's just a direct upscale, so it appears to look bigger on your display which is amplified by the scaling you have applied.

从信息这里看来,你可以去任何一套自定义比例因子或自定义 DPI 感知方案.

From the information here it seems that you can go about to either set a custom scale factor or a custom DPI awareness scheme.

您可以将它们设置为系统环境变量或使用一些 cmd 基本脚本在每个应用程序级别设置它们:

You can set those as system environment variables or use some cmd basic scripting to set them at a per application level:

@echo off 
set QT_SCALE_FACTOR=1
qtcreator.exe

这篇关于Qt Creator“太大了"在 3840x2160 上,在 Windows 10 上缩放 150%的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆