[PyKDE] pure virtual and operator ()
Phil Thompson
phil at riverbankcomputing.co.uk
Thu Mar 3 09:17:07 GMT 2005
> I'm trying to expose an abstract base class. In my .sip file I
> have
>
> virtual double operator()(double) const = 0;
>
>>From sip command I get
>
> sip -e -g -c . -I /usr/local/share/sip -I /usr/local/share/sip/qtcanvas -I
> ../../hippodraw/sip \
> -t Qt_3_3_0 -t WS_X11 ../../hippodraw/sip/sihippo.sip
> sip: ../../hippodraw/sip/FunctionBase.sip:106: syntax error
> make[2]: *** [sipsihippocmodule.h] Error 1
>
> this is sip 4.1.1.
>
> Any suggestions?
Use SIP 4.2.
Phil
More information about the PyQt
mailing list