summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
authorVladimir Belyavsky <belyavskyv@gmail.com>2022-05-20 19:38:06 +0300
committerVladimir Belyavsky <belyavskyv@gmail.com>2022-06-08 17:08:49 +0000
commit4a2c31103c7c993c87f88087811e02804adfabf3 (patch)
treef35619b84b40a556d61d6d6cb75a2e3b6207745d /src/testlib
parente4f9a78c18039a013326307f4884eeb7e83bd976 (diff)
Fallback to PerMonitorDpiAware if V2DpiAware is not supported by system
DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 might not be supported on some legacy Windows 10 editions (prior Creator Update). In this case SetProcessDpiAwarenessContext returns ERROR_INVALID_PARAMETER. Fallback to DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE using old API SetProcessDpiAwareness in such cases as the most suitable. Fixes: QTBUG-103733 Pick-to: 6.3 6.4 Change-Id: I39216e63ecfcae96aaa159237a52b0a76bc5d956 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/testlib')
0 files changed, 0 insertions, 0 deletions