https://github.com/Chatterino/chatterino2/pull/4868 added DPI aware functions that only work on Windows 10. When compiling with Qt 5 on Windows, it is now assumed the application will run on older systems. Maybe there should be a warning when running with Qt 5 on Windows 10 to use Qt 6.
Fixes #5390.
To make this work on Qt 5 and Windows 10, I'd need to load user32.dll and find the export (if it's there). I don't think that's worth the effort.
https://github.com/Chatterino/chatterino2/pull/4868 added DPI aware functions that only work on Windows 10. When compiling with Qt 5 on Windows, it is now assumed the application will run on older systems. Maybe there should be a warning when running with Qt 5 on Windows 10 to use Qt 6.
Fixes #5390.
To make this work on Qt 5 and Windows 10, I'd need to load
user32.dll
and find the export (if it's there). I don't think that's worth the effort.