[PyKDE] QMemArray problem

Aurélien Gâteau aurelien at dental-on-line.fr
Tue Feb 17 09:22:01 GMT 2004


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?

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




More information about the PyQt mailing list