diff options
author | Jake Petroules <jake.petroules@petroules.com> | 2014-02-27 17:44:05 -0500 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2014-02-28 11:53:00 +0100 |
commit | 6836c3ff836bd07739c72eab778e988303a8832f (patch) | |
tree | 330dc014f30a8b25c21d7401547429a8d3544873 /share | |
parent | aea575be39ec8b179d75af087a01bb9d96d50e59 (diff) |
Add retina display support to the default Info.plist.
Task-number: QBS-529
Change-Id: I77c5db7f0e3516ac3022468a2c242ffcf5441401
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'share')
-rw-r--r-- | share/qbs/modules/cpp/DarwinGCC.qbs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/share/qbs/modules/cpp/DarwinGCC.qbs b/share/qbs/modules/cpp/DarwinGCC.qbs index 527e669cd..bb3e5e345 100644 --- a/share/qbs/modules/cpp/DarwinGCC.qbs +++ b/share/qbs/modules/cpp/DarwinGCC.qbs @@ -76,8 +76,12 @@ UnixGCC { if (product.type.contains("applicationbundle")) dict["CFBundleIconFile"] = product.targetName; - if (qbs.targetOS.contains("osx") && minimumOsxVersion) - dict["LSMinimumSystemVersion"] = minimumOsxVersion; + if (qbs.targetOS.contains("osx")) { + dict["NSPrincipalClass"] = "NSApplication"; // needed for Retina display support + + if (minimumOsxVersion) + dict["LSMinimumSystemVersion"] = minimumOsxVersion; + } if (qbs.targetOS.contains("ios")) { dict["LSRequiresIPhoneOS"] = true; |