How to use QAction.menu() in PyQt6
JakobDev
jakobdev at gmx.de
Sun May 16 11:40:51 BST 2021
I need the menu function of QAction in one of my applications that I
want to port to Qt 6. The changelog at
https://doc.qt.io/qt-6/widgets-changes-qt6.html says that, Member
functions that depend on types defined in QtWidgets (such as
QAction::menu() and QAction::setMenu()) are implemented as templates
that will be instantiated only when called. But how can I do that in PyQt6?
More information about the PyQt
mailing list