[PyKDE] How to make sip bindings

Phil Thompson phil at river-bank.demon.co.uk
Sun Mar 24 23:41:43 GMT 2002

ian reinhart geiser wrote:
> Hash: SHA1
> Greetings
>         I had some Qt based widgets I have been making bindings with since PyQt 2.x,
> and now with PyQt 3.1 they have broken. Since I have reported this bug
> numerous times and no-one seems to know about it I am wondering what others
> are doing to work arround this problem.
>         The sip regeneration of the sources works perfectly but the build error is as
> follows:
> g++ -E -I/home/geiseri/test/include/python2.1 -I/home/geiseri/test//include/
> sipicepakProxyicepak.h >moc_sipMyTestProxyMyTest.h
> /home/geiseri/test/share/sip/qt//versions.sip:78: ../sipQtFeatures.h: No such
> file or directory
> make[3]: *** [sipMyTestProxyMyTest.moc] Error 1
> I know ../ style includes are a programming mistake but I cannot seem to
> figure out a way arround this, since it seems that it is not considered a
> bug.  Or is this feature of sip no longer supported?

The ../ issue will be fixed in the next version.

Is your problem that sipQtFeatures.h is not generated, or that it is but
not in the right directory?


More information about the PyQt mailing list