Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add settings in the Info.plist file that enable high-DPI support on macOS #488

Merged
merged 1 commit into from
Nov 10, 2019
Merged

Conversation

ctsrc
Copy link

@ctsrc ctsrc commented Nov 8, 2019

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.

…acOS.

These changes follow the instructions in the official Qt docs.

https://doc.qt.io/qt-5/highdpi.html
@AdrianKoshka AdrianKoshka merged commit 22e3538 into debauchee:master Nov 10, 2019
@ctsrc ctsrc deleted the macOS-highdpi branch November 10, 2019 02:43
@simons-public
Copy link

@ctsrc Thanks so much for this pr, Barrier looks awesome on macos now

@ctsrc
Copy link
Author

ctsrc commented May 6, 2020

Glad you like it @simons-public 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants