[PyKDE] New PyKDE snapshot - help needed

Jim Bublitz jbublitz at nwinternet.com
Fri Jan 20 23:47:38 GMT 2006

On Thursday 19 January 2006 06:28, Stephan Hermann wrote:
> Hi,
> I just tried to build it on Ubuntu:
> this was the error: (i386)
> sipkdecorepart0.cpp: In function 'PyObject*
> convertFrom_QValueList_0200KConfigSkeleton_ItemEnum_Choice(void*)':
> sipkdecorepart0.cpp:111275: warning: control reaches end of non-void
> function

That whole block of %MappedType code (in the .sip file) is just wrong. I've 
replaced it.

I either missed the warning, or it didn't occur in my compiles, but 
regardless, it wasn't even the right code for that block (was a cut and paste 
from the wrong place and should be the only occurrance).

> Using  gcc version 4.0.3 20060115 (prerelease) (Ubuntu 4.0.2-7ubuntu1)
> I changed the configure to not concatenate the files and found this:
> g++ -c -Wno-deprecated-declarations -pipe -fPIC -g -Wall -W -D_REENTRANT
> -DQT_THREAD_SUPPORT -I. -I../extra/kde350 -I/usr/include/kde
> -I/usr/include/python2.4 -I/usr/share/qt3/include -I/usr/X11R6/include -o
> sipkdecorecmodule.o sipkdecorecmodule.cpp
> /usr/include/kde/fixx11h.h:185: error: 'CursorShape' was not declared in
> this scope

Should be fixed.


More information about the PyQt mailing list