[PySide] Porting to PySide6

icfwm at gmx.net icfwm at gmx.net
Sun Jul 18 14:12:19 CEST 2021


Hi,

while porting to PySide6 I stumbled over this statement in the Qt docs:

"""

QAction, QActionGroup

These classes have been moved into the QtGui
<https://doc.qt.io/qt-6/qtgui-module.html> module. Member functions that
depend on types defined in QtWidgets
<https://doc.qt.io/qt-6/qtwidgets-module.html> (such as QAction::menu()
and QAction::setMenu()) are implemented as templates that will be
instantiated only when called.

"""

It seems that the menu() function is not available in PySide6, is this
correct? Is there a workaround for this missing functionality, or a plan
when it will be added? I've read nothing about this in the porting
section of PySide6.

Best Regards

Christoph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20210718/52e2b2be/attachment.html>


More information about the PySide mailing list