Chatterino / chatterino2

Chat client for https://twitch.tv
MIT License
1.97k stars 442 forks source link

fix: don't use DPI aware functions on Qt 5 (Windows 7/8) #5391

Closed Nerixyz closed 1 month ago

Nerixyz commented 1 month ago

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.