[PyKDE] QMemArray problem

Aurélien Gâteau aurelien at dental-on-line.fr
Wed Feb 18 09:42:00 GMT 2004


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
------------

-- 
Aurélien Gâteau - Dental On Line




More information about the PyQt mailing list