[PyQt] problem with abstract classes

Diez B. Roggisch deets at web.de
Wed Aug 15 20:57:29 BST 2007


Hi,

> Do as Jim said and make sure the declaration of IEventReceiver::OnEvent() is 
> the same in the .h and .sip files (see attached).
> 
> Also remove the /Abstract/ annotation (for your example at least). Including 
> it means that "there are *other* abstract functions which I'm not going to 
> tell you about".
> 
> With the new .sip file I get the following output from running your test...
> 
> overloaded event: 200
> overloaded event: 100
> 


thanks to Jim, Giovanno & Phil for solving this. Now the overloading works.

However I'm still stucked on the original issue.. and actually pretty 
much out of my wits.

Is there anybody with a mac who could try and reproduce the problem? Of 
course he/she gets the whole project stuff.


Thanks,

Diez


More information about the PyQt mailing list