[PyQt] com.apple.xbs Error-- Please help- Thank you

David Cortesi davecortesi at gmail.com
Mon Mar 27 00:15:40 BST 2017


> Why is it working in the terminal but without all the menu buttons? There
should be  "file" "view" "search" "tools" "help" items in the top menu bar
as well.

Au contraire. I've had some experience writing PyQt5 apps that run on
MacOS, Ubuntu and Windows, but I test on MacOS first.

I use Wing IDE (https://wingware.com/downloads), and when you run a script
within it, it creates a separate task which has its own app icon (python)
and whatever menu items you create. There will be an Edit menu by default I
believe (although in many cases you need to replace its default QActions
with custom ones), but File only shows up if you create it, also view,
search, tools and help.

Also for be sure to set QMenuBar.nativeMenuBar (
http://doc.qt.io/qt-5/qmenubar.html#nativeMenuBar-prop ) so the menu bar
will be the actual system menu bar on MacOS and Ubuntu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170326/222faf39/attachment.html>


More information about the PyQt mailing list