[PyQt] PyKDE-3.16.3 build failure

Hans-Peter Jansen hpj at urpla.net
Fri Oct 9 22:53:23 BST 2009


Am Freitag 09 Oktober 2009 schrieb Phil Thompson:
> On Fri, 9 Oct 2009 17:19:10 +0200, "Hans-Peter Jansen" <hpj at urpla.net>
>
> wrote:
> > Hi,
> >
> > an attempt to build PyKDE-3.16.3 with sip 4.9 and PyQt 3.18.1 in
>
> openSUSEs
>
> > build service failed with this error:
> >
> > sipkdecoreKAccelActions.cpp: In function 'void
>
> assign_KAccelActions(void*,
>
> > Py_ssize_t, const void*)':
> > sipkdecoreKAccelActions.cpp:591: error: no match for 'operator='
> > in '*(((KAccelActions*)sipDst) + ((long unsigned int)(((long unsigned
> > int)sipDstIdx) * 40ul))) = *(const KAccelActions*)sipSrc'
> > ../extra/kde353/kaccelaction.h:571: note: candidates are:
> > KAccelActions& KAccelActions::operator=(KAccelActions&)
> > make[1]: *** [sipkdecoreKAccelActions.o] Error 1
> > make[1]: Leaving directory
> > `/usr/src/packages/BUILD/PyKDE-3.16.3/kdecore' make: *** [all] Error 2
> > error: Bad exit status from /var/tmp/rpm-tmp.28884 (%build)
>
> Can you try adding a private assignment operator for KAccelActions in its
> .sip file?

Cool, that did the trick.

Thanks,
Pete



More information about the PyQt mailing list