Update Info.plist files for new Cocoa main() call pattern
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>
Fri, 5 Jul 2013 15:51:43 +0000 (17:51 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 11 Jul 2013 09:57:22 +0000 (11:57 +0200)
We would get the following error message otherwise, 'No Info.plist
file in application bundle or no NSPrincipalClass in the Info.plist
file, exiting.'

Needed by I790e5138c29aac2e0215a9147d0148fece40ca22.

Change-Id: I8d2301c41e4957195be8ed5da9a55ab5b02c4608
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
src/assistant/assistant/Info_mac.plist
src/designer/src/designer/Info_mac.plist
src/linguist/linguist/Info_mac.plist
src/pixeltool/Info_mac.plist
src/qdbus/qdbusviewer/Info_mac.plist

index 48b8480..b0a22d5 100644 (file)
@@ -2,6 +2,8 @@
 <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
 <plist version="0.9">
 <dict>
+       <key>NSPrincipalClass</key>
+       <string>NSApplication</string>
        <key>CFBundleIconFile</key>
        <string>@ICON@</string>
        <key>CFBundlePackageType</key>
index 1100995..411ca3b 100644 (file)
@@ -2,6 +2,8 @@
 <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
 <plist version="0.9">
 <dict>
+       <key>NSPrincipalClass</key>
+       <string>NSApplication</string>
        <key>CFBundleIconFile</key>
        <string>@ICON@</string>
        <key>CFBundlePackageType</key>
index b37a43b..fcfdcf0 100644 (file)
@@ -2,6 +2,8 @@
 <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
 <plist version="0.1">
 <dict>
+        <key>NSPrincipalClass</key>
+        <string>NSApplication</string>
        <key>CFBundleIconFile</key>
        <string>linguist.icns</string>
        <key>CFBundleIdentifier</key>
index 294db21..f2e5d30 100644 (file)
@@ -2,6 +2,8 @@
 <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
 <plist version="0.9">
 <dict>
+        <key>NSPrincipalClass</key>
+        <string>NSApplication</string>
        <key>CFBundleIconFile</key>
        <string>@ICON@</string>
        <key>CFBundlePackageType</key>
index b351409..a4622ad 100644 (file)
@@ -2,6 +2,8 @@
 <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
 <plist version="0.9">
 <dict>
+        <key>NSPrincipalClass</key>
+        <string>NSApplication</string>
        <key>CFBundleIconFile</key>
        <string>@ICON@</string>
        <key>CFBundlePackageType</key>