What are ways to disable DPI Scaling on compiled QT applications?
-
So there's an application that has DPI Scaling. And the regular Windows settings method "Overriding DPI Scale" doesn't work on it. Not sure if that's an issue with the Windows version, e.g. Windows 10 or 11.
What are other ways to disable DPI Scaling on QT compiled applications? Because I am trying to disable the DPI Scaling on it.
Like, can a .dll be modified and tricked a little bit to disable the DPI Scaling. Like, I really want to disable the DPI Scaling on the application.
What is ment with DPI Scaling, is that the UI and everything else adapts to the Windows DPI Scale setting value.
-
Hi,
You can find several options in the High DPI chapter in Qt's documentation.
-
I've tried to create a qt.conf with those values described there in the same path of the compiled .exe that I did not compile. But that didn't disable the DPI Scaling of the application.
Are there other things I can try?
-
What does your file contain ?
Which version of Qt are you using ? -
@SGaist It's not my application
It could be Qt5 there's a bunch of Qt5 .dll's in there, like Qt5Core.dll
Using something I figured out it's Qt 5.15.3.0I just want to disable the DPI Scaling from the compiled Qt application. I do not have the source code, nor does changing the DPI Scale settings on Windows disable the DPI Scaling.