diff --git a/resources/macosx/Info.plist.in b/resources/macosx/Info.plist.in index 048fd667c..0ca7813d7 100755 --- a/resources/macosx/Info.plist.in +++ b/resources/macosx/Info.plist.in @@ -2,7 +2,10 @@ - + NSPrincipalClass + NSApplication + NSHighResolutionCapable + True CFBundleDevelopmentRegion English CFBundleExecutable 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");