From c414d5312468c037d8cc9f8cc0bd710d8416a0bc Mon Sep 17 00:00:00 2001 From: Paolo Cignoni cignoni Date: Sun, 10 Feb 2008 15:23:48 +0000 Subject: [PATCH] plist to be added into the macos bundle to allow the direct loading between finder and meshlab --- src/install/Info.plist | 75 +++++++++++++++++++++++++++++++++++++++++ src/meshlab/meshlab.pro | 6 ++++ 2 files changed, 81 insertions(+) create mode 100644 src/install/Info.plist diff --git a/src/install/Info.plist b/src/install/Info.plist new file mode 100644 index 000000000..e10b04602 --- /dev/null +++ b/src/install/Info.plist @@ -0,0 +1,75 @@ + + + + + CFBundleDocumentTypes + + + CFBundleTypeExtensions + + obj + + CFBundleTypeIconFile + meshlab_obj.icns + CFBundleTypeName + OBJ 3D file + CFBundleTypeOSTypes + + OBJ + + CFBundleTypeRole + Editor + LSIsAppleDefaultForType + Yes + + + CFBundleTypeExtensions + + stl + + CFBundleTypeIconFile + meshlab_obj.icns + CFBundleTypeName + STL 3D file + CFBundleTypeOSTypes + + STL + + CFBundleTypeRole + Editor + LSIsAppleDefaultForType + Yes + + + CFBundleTypeExtensions + + ply + + CFBundleTypeIconFile + meshlab_obj.icns + CFBundleTypeName + PLY 3D file + CFBundleTypeOSTypes + + PLY + + CFBundleTypeRole + Editor + LSIsAppleDefaultForType + Yes + + +CFBundleExecutable + meshlab + CFBundleGetInfoString + MeshLab VCG-ISTI-CNR + CFBundleIconFile + meshlab.icns + CFBundlePackageType + APPL + CFBundleSignature + ???? + NOTE + Please, do NOT change this file -- It was generated by Qt/QMake. + + diff --git a/src/meshlab/meshlab.pro b/src/meshlab/meshlab.pro index 4ab3fc2ca..7e8d0a9d5 100644 --- a/src/meshlab/meshlab.pro +++ b/src/meshlab/meshlab.pro @@ -58,6 +58,12 @@ RESOURCES = meshlab.qrc # to add windows icon RC_FILE = meshlab.rc + +### the xml info list +### the next time the app open a new extension +QMAKE_INFO_PLIST = ../install/info.plist + + # to add MacOS icon ICON = images/meshlab.icns