Setting Mac OSX Application Menu menu bar item to other than “Python” in my python Qt application

后端 未结 6 1573
灰色年华
灰色年华 2020-12-05 14:45

I am writing a GUI application using python and Qt. When I launch my application on Mac, the first menu item in the Mac menu bar at the top of the screen is \"Python\". I

6条回答
  •  -上瘾入骨i
    2020-12-05 15:30

    I think you need to do this:

    win.setWindowTitle("MyApp")
    

    Edit: This is for PyQt. I don't know the equivalent in PySide.

提交回复
热议问题