[PyKDE] PyQt4 Menu Seg Fault

Detlev Offenbach detlev at die-offenbachs.de
Fri Jan 13 17:45:48 GMT 2006


Am Freitag, 13. Januar 2006 11:11 schrieb Andreas Pakulat:
> 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?
>

Had the same problem over here with Python 2.4 on a 32 bit machine

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list