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
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to