macOS: Enable Hi-DPI support in applications by default

Every desktop application should be HiDPI ready in present.
Based on information from Qt documentation enabling properties in
`Info.plist` is sufficient to activate this feature.
Newer versions of `qmake` do it.

Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
This commit is contained in:
Ľubomír Carik
2017-04-08 23:33:26 +02:00
committed by Brad King
parent e086b0e081
commit d914030507
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
macos-hidpi-qt-dialog
---------------------
* On macOS the default application bundle ``Info.plist`` file now enables
Hi-DPI support.

View File

@@ -30,5 +30,9 @@
<true/>
<key>NSHumanReadableCopyright</key>
<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<string>True</string>
</dict>
</plist>