[PyQt] problem with abstract classes

Phil Thompson phil at riverbankcomputing.co.uk
Wed Aug 15 22:12:38 BST 2007


On Wednesday 15 August 2007 8:57 pm, Diez B. Roggisch wrote:
> 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.

I can try - but the smaller the test the better.

Phil


More information about the PyQt mailing list