[PyKDE] QMemArray problem

Phil Thompson phil at riverbankcomputing.co.uk
Tue Feb 17 19:20:00 GMT 2004


On Tuesday 17 February 2004 08:20, Aurélien Gâteau wrote:
> Hi,
>
> I wrote a function which returns a QMemArray<int>. Using Sip 3.7, I used to
> bind it like this:
>
> ------------
> %Import qtmod.sip
>
> %HeaderCode
> #include <dolimageutils.h>
> #include <sipqtQMemArray.h>
> %End
>
> namespace DolImageUtils
> {
>     QMemArray<int> compute8BitImageHistogram(const QImage&);
> };
> ------------
>
> 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.

Phil




More information about the PyQt mailing list