Developer Blog - Inventic.eu
  • Skipper - The ORM Designer
  • VsBuilds - Parallel building
  • Pulpo - Free Skipper CLI

Tag: #mac os

MacOS open file hander, app icon and other PLIST features

How to configure PLIST

This is how look ORM Designer plist file to correct setup file handler and application icon:

&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />
&lt;!DOCTYPE plist SYSTEM &quot;file://localhost/System/Library/DTDs/PropertyList.dtd&quot;&gt;<br />
&lt;plist version=&quot;1.0&quot;&gt;<br />
&lt;dict&gt;<br />
  &lt;key&gt;CFBundleVersion&lt;/key&gt;        &lt;string&gt;1.0&lt;/string&gt;<br />
  &lt;key&gt;CFBundlePackageType&lt;/key&gt;    &lt;string&gt;APPL&lt;/string&gt;<br />
  &lt;key&gt;CFBundleExecutable&lt;/key&gt;     &lt;string&gt;@EXECUTABLE@&lt;/string&gt;<br />
  &lt;key&gt;CFBundleIdentifier&lt;/key&gt;     &lt;string&gt;com.orm-designer.OrmDesigner2&lt;/string&gt;<br />
  &lt;key&gt;CFBundleSignature&lt;/key&gt;      &lt;string&gt;????&lt;/string&gt;<br />
  &lt;key&gt;CFBundleGetInfoString&lt;/key&gt;  &lt;string&gt;ORM Designer2, Copyright 2012 Inventic s.r.o.&lt;/string&gt;<br />
  &lt;key&gt;CFBundleIconFile&lt;/key&gt;       &lt;string&gt;@ICON@&lt;/string&gt;<br />
  &lt;key&gt;NOTE&lt;/key&gt;                   &lt;string&gt;ORM Designer2 by Inventic Corporation&lt;/string&gt;</p>
<p>  &lt;key&gt;CFBundleDocumentTypes&lt;/key&gt;<br />
  &lt;array&gt;<br />
    &lt;dict&gt;<br />
      &lt;key&gt;CFBundleTypeName&lt;/key&gt;         &lt;string&gt;ORM Designer project file&lt;/string&gt;<br />
      &lt;key&gt;CFBundleTypeRole&lt;/key&gt;         &lt;string&gt;Editor&lt;/string&gt;<br />
      &lt;key&gt;CFBundleTypeIconFile&lt;/key&gt;     &lt;string&gt;@ICON@&lt;/string&gt;<br />
      &lt;key&gt;LSHandlerRank&lt;/key&gt;            &lt;string&gt;Owner&lt;/string&gt;<br />
      &lt;key&gt;LSIsAppleDefaultForType&lt;/key&gt;  &lt;true/&gt;</p>
<p>      &lt;key&gt;CFBundleTypeExtensions&lt;/key&gt;<br />
      &lt;array&gt;<br />
        &lt;string&gt;ormdesigner&lt;/string&gt;<br />
        &lt;string&gt;ormdes&lt;/string&gt;<br />
        &lt;string&gt;ormdesigner2&lt;/string&gt;<br />
        &lt;string&gt;ormdes2&lt;/string&gt;<br />
      &lt;/array&gt;<br />
    &lt;/dict&gt;<br />
  &lt;/array&gt;<br />
&lt;/dict&gt;<br />
&lt;/plist&gt;<br />

Qt links:

Apple developer links:

Icon converting online tools

19 Sep 2012

Posted by: ludek.vodicka

Programming Mac OS #deploy #mac os