From b9aecdb01e333e11c620613f06e63b2b05ee5ab6 Mon Sep 17 00:00:00 2001 From: Peter Hedlund Date: Mon, 22 Aug 2016 19:21:32 -0700 Subject: [PATCH 1/3] Fix a typo in Info.plist.in. --- resources/macosx/Info.plist.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/macosx/Info.plist.in b/resources/macosx/Info.plist.in index 048fd667c..4af382210 100755 --- a/resources/macosx/Info.plist.in +++ b/resources/macosx/Info.plist.in @@ -22,7 +22,7 @@ CFBundleShortVersionString @SHORT_VERSION@ CFBundleSignature - @TYPEINFO@ + @TYPEINFO@ CFBundleVersion 1.0.0 CSResourcesFileMapped From 53a02dc9edbaa5d9228f80c8d8dc9ec914abf187 Mon Sep 17 00:00:00 2001 From: Peter Hedlund Date: Mon, 22 Aug 2016 19:57:51 -0700 Subject: [PATCH 2/3] Enable retina display support on macOS. --- resources/macosx/Info.plist.in | 9 +++++++-- src/main.cpp | 3 +++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/resources/macosx/Info.plist.in b/resources/macosx/Info.plist.in index 048fd667c..ad2986e01 100755 --- a/resources/macosx/Info.plist.in +++ b/resources/macosx/Info.plist.in @@ -2,7 +2,10 @@ - + NSPrincipalClass + NSApplication + NSHighResolutionCapable + True CFBundleDevelopmentRegion English CFBundleExecutable @@ -16,7 +19,9 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleName - @EXECUTABLE@ + RSS Guard + CFBundleDisplayName + RSS Guard CFBundlePackageType APPL CFBundleShortVersionString diff --git a/src/main.cpp b/src/main.cpp index 21ce8f705..89e6fc705 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -62,6 +62,9 @@ int main(int argc, char *argv[]) { return EXIT_FAILURE; } + QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + // Register needed metatypes. qRegisterMetaType >("QList"); qRegisterMetaType >("QList"); From a7c88120089c7a8166b8e7b1b14f5ad7a7b0b0a0 Mon Sep 17 00:00:00 2001 From: Peter Hedlund Date: Mon, 22 Aug 2016 19:59:45 -0700 Subject: [PATCH 3/3] Revert bundle name changes. --- resources/macosx/Info.plist.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/resources/macosx/Info.plist.in b/resources/macosx/Info.plist.in index ad2986e01..0ca7813d7 100755 --- a/resources/macosx/Info.plist.in +++ b/resources/macosx/Info.plist.in @@ -19,9 +19,7 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleName - RSS Guard - CFBundleDisplayName - RSS Guard + @EXECUTABLE@ CFBundlePackageType APPL CFBundleShortVersionString