[PyKDE] PyQt4 Menu Seg Fault

Phil Thompson phil at riverbankcomputing.co.uk
Fri Jan 13 09:20:28 GMT 2006

On Friday 13 January 2006 2:02 am, Doug Bell wrote:
> Hi -
> Menus in PyQt4 work fine when a separate action is created and assigned
> to a menu item, but there is a problem when defining the action within
> an overloaded QMenu.addAction() method.  The menu gets created but then
> gives a segmentation fault when the menu item is actuated.
> I've attached a short example that illustrates the problem.  The first
> item in the context menu (from a separate QAction) works fine, but the
> second one (using the internal action) causes a seg fault.
> I'm using the 20060111 snapshot.

It works fine for me - on amd64.

Anybody else see a problem?


More information about the PyQt mailing list