Unsolved Main menu is not displayed in MacOS 10.15
-
Hello,
I'm developing a text editor with Python and Qt.
The main menu appears in Windows 10.
The main menu is displayed in Ubuntu.
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:
- at the integration of the window icon: self.setWindowIcon (QIcon ("PQT-Texteditor.png"))
- Not enough main memory because MacOS is running in a virtual machine
Question:
Who knows why the main menu is not displayed under MacOs? -
Hi,
What version of Qt and PySide2 ?
-
qmake --version
QMake version 3.1
Using Qt version 5.9.7 in C:/ProgramData/Anaconda3/Library/libPySide i don't use.
-
So you are using PyQt5 ?
-
yes, that is right!
from PyQt5 import QtCore, QtWidgets, QtGui, QtPrintSupport
from PyQt5.QtWidgets import *
from PyQt5.QtCore import QSize, Qt
from PyQt5.QtGui import QFont, QFontDatabase, QTextCursor, QTextCharFormat, QTextDocument, QColor, QIcon
from PyQt5.QtPrintSupport import QPrintDialog, QPrinter -
So which version of PyQt5 ?
-
i don't understand the question.
Why there is different versions? -
PyQt5 is the name of the package. It has a version number. Qt also has a version number, you are using Qt 5.9.7. PyQt5's version number does not necessarily follow the one from Qt.
-
okay, how i can find out the version of PyQt5?
-
With "conda list" for example.
-
okay.
pyqt 5.9.2 in Windows.
in MacOS it should be the same, cause between the installation anaconda in windows and MacOs, was just 4 weeks. -
It seems that there's something going on with macOS 10.15 and the menu bar. Other non Qt application also have issues with it.
You should check the bug report system