aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/qbs/modules/cpp/DarwinGCC.qbs8
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;