W10 将缩放与布局设置为>100%时,QT的文字会放大超过原来的文字框。
使用这种方法是让Windows来控制缩放,而不是Qt。 添加一个资源文件qt.conf,内容为:
qt.conf
[Platforms] WindowsArguments = dpiawareness=0