[PyKDE] Re: PyKDE 3.11.2 sip syntax error

Phil Thompson phil at riverbankcomputing.co.uk
Sun Aug 22 10:06:11 BST 2004


On Sunday 22 August 2004 12:58 am, Jim Bublitz wrote:
> On Saturday 21 August 2004 15:10, Dan Freed wrote:
> > There appears to be a syntax error in one of the khtml sip files in the
> > current release.  Here is the output I get from the configure.py script:
> >
> > dfreed at wintermute:~/downloads/PyKDE-3.11.2> python ./configure.py
> >
> >      PyKDE version 3.11.2
> >            -------
> > sip version is 3.10.2 (3.10.2)
> > KDE version is 3.3.0 (0x30300)
> > Generating the C++ source for the khtml module...
> > sip: sip/khtml/khtml_part.sip:135: syntax error
> > Error: Unable to create the C++ code.
>
> In sip/khtml/khtml_part.sip.330  (note the ** .330 **) change the
> initialization for the enumerators to:
>
>     enum FindOptions
>     {
>         FindLinksOnly = 65536,
>         FindNoPopups = 131072
>     };

Note that the values are optional for both SIP 3 and 4, and they are always 
ignored.

Phil




More information about the PyQt mailing list