[PyQt] Icon on OS X
Hans-Peter Jansen
hpj at urpla.net
Mon Oct 17 20:56:07 BST 2011
On Sunday 16 October 2011, 16:27:25 Clément Mairet wrote:
> On 10/16/2011 05:52 AM, Joseph Yeung wrote:
> > I am trying out my application on OS X Lion 10.7.2 and PyQt4 4.8.4
> > and it is showing the default Python Launcher Icon.
> >
> > But on Ubuntu it is showing the icon which I specify. Wondering if
> > there is a specific thing I need to do on OSX.
> >
> > Thanks.
> >
> > Joseph
>
> I had the same problem (although on older versions of OS X and PyQt)
> and only managed to have a proper icon and application name by using
> py2app to generate a full-blown OS X application.
>
> If an easier, more direct solution exists, I'm interested too! :)
Your apps need to comply to the usual Mac OS X Application folder
structure, including a correct Info.plist file, since the finder
examines those only.
This is inherited from the resource fork drain bammage of Mac OS.
Pete
More information about the PyQt
mailing list