[PyKDE] Mac OSX menubar question?
David Boddie
david at boddie.org.uk
Sat Jul 29 23:17:34 BST 2006
On Wed Jul 26 02:11:30 MEST 2006, Kevin Cureton wrote:
> I've been unable to find out how to change the name of the
> application in the Mac OSX menu bar. It always comes up as "python".
I'm not a Mac user, but I've read something about this recently.
Unfortunately, I think it was in the latest issue of Qt Quarterly,
and this isn't online yet.
> I've poured over tons of documentation and web pages and can't find a
> way to change it. I looked at it from both the QApplication and
> QMenuBar perspective. I'm using the QMenuBar that I get back from
> QMainWindow.menuBar()
I don't think the menu bar will help you. If you're using PyQt4,
Q[Core]Application's applicationName property might be useful.
Otherwise, you might need to look at how the application is packaged.
See these answers about C++ and qmake for information about deployment
on Mac OS X, and the Info.plist file in particular:
http://lists.trolltech.com/qt-interest/2005-05/thread00504-0.html#msg00616
http://lists.trolltech.com/qt-interest/2005-05/thread00553-0.html
I don't think that setting window titles will help, though that's also
worth trying.
Let us know if you find a solution.
David
More information about the PyQt
mailing list