[PyKDE] Error installing pykde on Debian

Frederick Polgardy Jr fred at polgardy.com
Thu Dec 25 23:27:00 GMT 2003


On Thursday 25 December 2003 07:50, Ricardo Javier Cardenes Medina wrote:
> On Thu, Dec 25, 2003 at 12:23:54AM +0000, Tom Badran wrote:
> > > Fred told me privately (but again, his server bounces my mails) that
> > > this doesn't work. Please, substitute "python-kde" with "python-kde3"
> >
> > Also, with recent unstable (just pre the recent update to the 3.1.4 kde
> > packages going in) i had to slight hack one of the sip files to get it
> > to build, apart from that it works like a charm though.
>
> Could you please point me the hack?. Thanks.

I had to change two things to get the python-kde3 sources to build:

1) kmessagebox.sip or sipkdeuiKMessageBox.cpp needs extern const KGuiItem& 
nullGuiItem; and

2) kservicegroup.sip or sipkioKServiceGroupList.cpp needs to include 
sipkioKSycocaEntryPtr.h.

I imagine adding to the sip files is "correct," but I'm just editing the 
generated C++ code to get it to build, since I'll throw away the sources 
anyway. :)

I'm using sid 3.8-2 sip and python-sip-qt3, and 3.8-2.1 python-qt3/
python-qt-dev.

Fred




More information about the PyQt mailing list