Update outdated README section about DPI awareness under Windows

This commit is contained in:
Martchus 2023-11-18 21:25:30 +01:00
parent 6962037584
commit 243c0446bd
1 changed files with 4 additions and 5 deletions

View File

@ -606,12 +606,11 @@ https://github.com/tomasz1986/classic2000 to see how Windows looks like with hig
contrast applied, or if you're in need for themes that look at least nicer than contrast applied, or if you're in need for themes that look at least nicer than
what's shipped with Windows. what's shipped with Windows.
### Enable experimental support for Windows' per-monitor DPI awareness (V2) ### DPI awareness under Windows
Syncthing Tray supports
[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) [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 out of the box as of Qt 6. You may tweak settings according to the
Qt 6 build by setting the environment variable `QT_QPA_PLATFORM` to [Qt documentation](https://doc.qt.io/qt-6/highdpi.html#configuring-windows).
`windows:dpiawareness=3` or set it via `qt.conf` as described in the previous
section.
### List of bugs ### List of bugs
* Wayland limitations * Wayland limitations