[PyKDE] PyKDE compiling error

Jim Bublitz jbublitz at nwinternet.com
Tue Apr 8 03:30:01 BST 2003


On 07-Apr-03 Marc Lavallée wrote:
> After a very long time, a first error:
> ------------------------------------------------------------------
> ------
> g++ -c -pipe -w -O2 -fomit-frame-pointer -pipe -march=i586
> -mcpu=pentiumpro -D_REENTRANT -fPIC  -DSIP_MAKE_MODULE_DLL
> -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -fno-exceptions
> -I/usr/lib/qt3/mkspecs/default -I.
> -I../extra/kde310 -I. -I/usr/include/python2.2 -I/usr/include
> -I../extra/kde310/kio -I/usr/include/kio -I../kdecore
> -I/usr/lib/qt3/include -o sipkioKService.o sipkioKService.cpp
> /usr/include/kservice.h: In constructor
> `sipKService::sipKService(const
> KService&)':
> /usr/include/kservice.h:47: `KService::KService(const KService&)'
> is
> private
> sipkioKService.cpp:75: within this context
> make[1]: *** [sipkioKService.o] Erreur 1
> make[1]: Leaving directory
> `/home/marc/Documents/Python/PyKDE-3.5-1/kio'
> ------------------------------------------------------------------
> ------
> 
> My system:
> 
> Mandrake 9.1
> Qt 3.1.1
> KDE 3.1
> sip 3.6 (03/03/26 cvs version)
> PyQt 3.6 (03/03/26 cvs version)

In kservice.sip at line 34 change:

%If ( KDE_3_1_1 - )

to 

%If ( KDE_3_1_0 - )

I'll have to check in which version the copy ctor became private.

Jim




More information about the PyQt mailing list