Add settings in the Info.plist file that enable high-DPI support on macOS #488
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These changes follow the instructions in the official Qt docs.
https://doc.qt.io/qt-5/highdpi.html
Tested on macOS Catalina 10.15.1 running on a MacBook Air 2018 model, which has a Retina (high-DPI) display. Tested with both Qt 5.12.3 (same version used in Azure build pipeline) and with the current Qt 5.13.2.
Also tested on macOS High Sierra 10.13.6 running on a non-Retina display computer (confirmed that it is not running in high-DPI mode by inspecting outputs of
system_profiler SPDisplaysDataType | grep Resolution
). Tested with both Qt 5.12.3 and with Qt 5.13.2 on this computer as well.This change makes it so that the application GUI looks like it should on Retina displays on macOS, instead of being blocky/pixely/blurry like it was prior to this change when macOS was upscaling it.