[PyKDE] Problem compiling PyKDE with latest sip

David Boddie david at boddie.org.uk
Sun Jun 4 15:11:16 BST 2006


On Sat, 3 Jun 2006 23:48:09 -0700, Jim Bublitz wrote:

> On Saturday 03 June 2006 11:06, Detlev Offenbach wrote:

> > I tried to compile PyKDE (latest snapshot) with the latest sip and got
> > the following error during the configure step.
> >
> > Generating the C++ source for the kdecore module...
> > sip: KMD5::update() has overloaded functions with the same Python
> > signature Error: Unable to create the C++ code.
>
> I would guess the problem is that  in kdecore/kmdcodec.sip, the KMD5 class
> has an update ( ... ) method that takes a char argument and another that
> takes a uchar argument.. Commenting out one or the other would probably fix
> it (haven't had time to try it).

It seemed to work for me when I tried choosing just one overloaded function,
though I wasn't using the KMD5 class so I don't know which one is strictly
correct for use with Python.

> The KMD4 class (later in the same file) has the same situation. Apparently
> the new snapshot triggers that as a problem, where previously it hasn't
> been (hasn't been particularly useful or necessary to have both methods
> either).
>
> There might also be other instances elsewhere, but at the moment it doesn't
> look like any major sip changes to deal with (I'm guessing).

From memory, I think there's a similar problem with the blend() functions in
the KImageEffect class (kdefx/kimageeffect.sip).

David




More information about the PyQt mailing list