[PyKDE] Re: Next PyQt and sip bug...

ian reinhart geiser geiseri at yahoo.com
Wed Mar 20 13:08:26 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 20 March 2002 05:02 am, Phil Thompson wrote:
> ian reinhart geiser wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > It seems if you attempt to build python bindings based off of a Qt class
> > you get the following error from the build:
> > /home/geiseri/share/sip/qt//versions.sip:78: ../sipQtFeatures.h: No such
> > file or directory
> > make[1]: *** [sipmymodProxymymod.moc] Error 1
> >
> > I am thinking the includsion of a ../file is a mistake, right?
>
> Wrong.
>
then it is a bug.
> > Or did how one includes qtmod.sip change?
>
> In earlier versions there was an identical sip_helper for every module,
> now there is only one and it's in its own sub-directory. The PyQt
> Makefiles make sure that sip_helper is built and run (to create
> sipQtFeatures.h) before building any of the modules.
no you seem to be confused, i am not buiding PyQt I am building my own 
bindings now.  The problem is that you are using relitive paths,  in an 
installed file.  Read the line:
	/home/geiseri/share/sip/qt/versions.sip
is looking for 
	/home/geiseri/share/sip/sipQtFeatures.h

Once this file is copied there it all works.

This is a bug in the makes system and should be fixed if people actually want 
to use sip to build python bindings.

- -ian reinhart geiser


- -- 
 :-- Ian Reinhart Geiser --:
GPG Key: D6:A6:7E:16:13:A9:B5:A7:9E:18:D1:A7:3F2E:B6:4D:19:BC:76:F8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8mHt8Py62TRm8dvgRAubIAJ9rUXeHQpaSPBMgxRozNpczs4wEAwCeLRsK
dkN6EhjBxlZ/jIeL4zAxH/4=
=6YqI
-----END PGP SIGNATURE-----


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





More information about the PyQt mailing list