PyQt6 QAction menu/setMenu?
    Phil Thompson 
    phil at riverbankcomputing.com
       
    Sun Jul 17 11:02:20 BST 2022
    
    
  
On 12/07/2022 17:55, Matic Kukovec wrote:
> Hi Phil,
> 
> In Qt5 there were QAction::menu/QAction::setMenu methods for setting a
> menu on an action,
> but in Qt6 these are templates. Could there be a workaround for this in 
> PyQt6?
> PySide seems to have done it: 
> https://bugreports.qt.io/browse/PYSIDE-1627
This comes up from time to time but not with any sense of urgency which 
suggests to me that there is another way of doing things - particularly 
as those methods were deprecated in Qt v6.0.
Phil
    
    
More information about the PyQt
mailing list