Markus Lemcke
Markus Lemcke

Reputation: 117

Python and Qt: The main menu of a text editor is not displayed in MacOS 10.15

I'm developing a text editor with Python and Qt. The main menu appears in Windows 10. The main menu is displayed in Ubuntu 20.04. The main menu is not displayed in MacOS 10.15.

I create the menu as follows:

editormenu = self.menuBar ()

The following error message appears:

Unable to create basic Accelerated OpenGL renderer. Unable to create basic Accelerated OpenGL renderer. Core Image is now using the software OpenGL renderer. This will be slow.

Two ideas from me that could be:

  1. at the integration of the window icon: self.setWindowIcon (QIcon ("PQT-Texteditor.png"))
  2. Not enough main memory because MacOS is running in a virtual machine

Question: Who knows why the main menu is not displayed under MacOs?

Upvotes: 0

Views: 78

Answers (0)

Related Questions