[PyKDE] Re: PyQt4 Menu Seg Fault

m.gehling at gmx.de m.gehling at gmx.de
Fri Jan 13 11:05:11 GMT 2006


Phil Thompson schrieb: 

> 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?

No, run with python 2.3.5 and 2.4. 

> 
> Phil 
> 
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde 
> 
 




More information about the PyQt mailing list