diff options
author | Kai Köhne <kai.koehne@qt.io> | 2021-05-27 08:44:11 +0200 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2021-05-27 14:28:18 +0200 |
commit | fd9c2c803363d2036ba497946c2eee58b4c4fe18 (patch) | |
tree | 2a4bb273a012eed11dee7dab56317ed9ab4b823b /conanfile.py | |
parent | 19e789bace887105badae83c0a79429bbf8e8221 (diff) |
Silence warning C4996 (use of deprecated GetDesktopDpi)
Silences warnings
warning C4996: 'ID2D1Factory::GetDesktopDpi': Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps.
Using GetDpiForWindow sounds like the right approach, but it's not obvious
where to get the window handle from here.
Task-number: QTBUG-94043
Pick-to: 6.1
Change-Id: I2fc005e0c970c8338184f4500b876774ec9d976b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'conanfile.py')
0 files changed, 0 insertions, 0 deletions