From cd636c9da852bce247eb1eabf15d130faf374a7b Mon Sep 17 00:00:00 2001 From: Martchus Date: Tue, 5 Oct 2021 18:16:10 +0200 Subject: [PATCH] Add notes about Windows' per-monitor DPI awareness (V2) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 9e43e87..31edc15 100644 --- a/README.md +++ b/README.md @@ -497,6 +497,12 @@ nice overall. Check https://github.com/tomasz1986/classic2000 to see how Windows looks like with high contrast applied, or if you're in need for themes that look at least nicer than what's shipped with Windows. +### Enable experimental support for Windows' per-monitor DPI awareness (V2) +[PMv2](https://docs.microsoft.com/en-us/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows#per-monitor-and-per-monitor-v2-dpi-awareness) +is not working out of the box but experimental support can be enabled in the +Qt 6 build by setting the environment variable `QT_QPA_PLATFORM` to +`windows:dpiawareness=3`. + ### List of bugs * Wayland limitations * The tray menu can not be positioned correctly under Wayland because the protocol does not allow setting window positions from