summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-12 13:03:29 +0000
committerKitware Robot <kwrobot@kitware.com>2017-04-12 09:03:50 -0400
commit6f7f567eeea38fe5df38b6eadc231060ac5afd6e (patch)
tree14e563f5ab8dbf666c3591cd15d33867c6a51723
parent135611176c5d4958b9b5a36c63fada8a9e4fb1ef (diff)
parentd9140305077c13defa04774b4a8f5233a76f8399 (diff)
downloadcmake-6f7f567eeea38fe5df38b6eadc231060ac5afd6e.tar.gz
Merge topic 'macos-hidpi-qt-dialog'
d9140305 macOS: Enable Hi-DPI support in applications by default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !682
-rw-r--r--Help/release/dev/macos-hidpi-qt-dialog.rst5
-rw-r--r--Modules/MacOSXBundleInfo.plist.in4
2 files changed, 9 insertions, 0 deletions
diff --git a/Help/release/dev/macos-hidpi-qt-dialog.rst b/Help/release/dev/macos-hidpi-qt-dialog.rst
new file mode 100644
index 0000000000..263d405a99
--- /dev/null
+++ b/Help/release/dev/macos-hidpi-qt-dialog.rst
@@ -0,0 +1,5 @@
+macos-hidpi-qt-dialog
+---------------------
+
+* On macOS the default application bundle ``Info.plist`` file now enables
+ Hi-DPI support.
diff --git a/Modules/MacOSXBundleInfo.plist.in b/Modules/MacOSXBundleInfo.plist.in
index a4009bce32..e06b17ecf1 100644
--- a/Modules/MacOSXBundleInfo.plist.in
+++ b/Modules/MacOSXBundleInfo.plist.in
@@ -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>