[PyQt] api problem with sip 4.7.9, PyQt 4.4.4 and Python 2.5.2 on
Mac OS X 10.5.6
Lauro Moura
lauromoura at gmail.com
Mon Feb 16 20:59:55 GMT 2009
On Mon, Feb 16, 2009 at 9:53 AM, Romuald Riem <rriem at free.fr> wrote:
>
> I've noticed the change in the API, but when I try to use
> sip-4.8-snapshot-20090214, I've this error:
>
> cc -c -pipe -fPIC -Os -w -DNDEBUG -I.
> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -o
> siplib.o siplib.c
> siplib.c: In function 'addToParent':
> siplib.c:3496: error: 'struct _sipWrapper' has no member named 'ob_refcnt'
> siplib.c: In function 'removeFromParent':
> siplib.c:3524: error: 'struct _sipWrapper' has no member named 'ob_refcnt'
> make[1]: *** [siplib.o] Error 1
>
The same happens here (Ubuntu 8.10).
Looks like the problem is PyObject_HEAD missing in sipWrapper, so when
using any macro that deals with reference counting the field ob_refcnt
isn't found.
--
Lauro Moura ("lmoura" on Freenode)
http://lauro.wordpress.com
More information about the PyQt
mailing list