On Friday 13 January 2006 10:11 am, Andreas Pakulat wrote: > On 13.01.06 09:20:28, Phil Thompson wrote: > > 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. > > Hmm, I wonder if that might be a reason why the mdi-example works with > your machine but not with mine here. > > > Anybody else see a problem? > > Yes selecting the "Broken Action" gives me:
Can you build SIP and PyQt with debugging symbols (-u to configure.py)? Otherwise the backtrace isn't very helpful. Phil _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
