[PyKDE] QMemArray problem
Phil Thompson
phil at riverbankcomputing.co.uk
Wed Feb 18 20:32:01 GMT 2004
On Wednesday 18 February 2004 08:39, Aurélien Gâteau wrote:
> Le Mardi 17 Février 2004 19:16, Phil Thompson a écrit :
> > > Yesterday I upgraded to Sip 3.10 and this does not work anymore. I get
> > > this error message:
> > >
> > > ------------
> > > g++ <-f> -c -pipe -w -O2 -o dolimagefilterscmodule.o
> > > dolimagefilterscmodule.cpp
> > > -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/python2.2
> > > -I/usr/include -I/usr/share/qt3/include
> > > -D_REENTRANT -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG
> > > -DQT_THREAD_SUPPORT
> > >
> > > In file included from dolimagefilterscmodule.cpp:5:
> > > dolimageutils.sip:5: sipqtQMemArray.h: No such file or directory
> > > ------------
> > >
> > > Any idea?
> >
> > Try just removing the line.
>
> If I do so, I get this message:
> ------------
> g++ <-f> -c -pipe -w -O2 -o dolimagefilterscmodule.o
> dolimagefilterscmodule.cpp
> -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/python2.2
> -I../../../../build/include -I/usr/share/qt3/include
> -D_REENTRANT -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
>
> dolimagefilterscmodule.cpp: In function `struct PyObject *
> sipDo_DolImageUtils_compute8BitImageHistogram(PyObject *, PyObject *)':
> dolimagefilterscmodule.cpp:65: implicit declaration of function `int
> sipConvertFrom_QMemArray_1800(...)'
> dolimagefilterscmodule.cpp:65: initialization to `PyObject *' from `int'
> lacks a cast
> ------------
That's a SIP 3 bug (SIP 4 is Ok I think). It should be fixed in tonight's
snapshot.
Phil
More information about the PyQt
mailing list