Fwd: [PyQt] QAction menu questions
dboddie at trolltech.com
dboddie at trolltech.com
Wed Jun 3 15:22:48 BST 2009
On Wed Jun 3 13:28:15 BST 2009, Darryl Wallace wrote:
> > Is there an example someone could point me to that demonstrates how to
> > specify the About Menu and item name, changing them from "Python" and
> > "About Python to "MyApp" and "About MyApp?"
>
> I run your script and the window title says "Menu Test" and under the
> help I have "About My App" and "About Qt" and I've attached the
> screenshot for proof :)
>
> What operating system are you running in?
This looks like a Mac-specific issue.
Scott, you could try making an application bundle of your application. This
would let you supply the name of the application in the Info.plist file.
Alternatively, if you don't know about bundles, you could changing the list
of arguments passed to QApplication. Some experiments on X11 didn't convince
me that it would work, but maybe it will do the trick on Mac OS X.
David
More information about the PyQt
mailing list