[PyQt] PyQt v4.6 and SIP v4.9 Snapshots

Jason H scorp1us at yahoo.com
Tue Aug 11 02:21:17 BST 2009


configure.py -p win32-g++
mingw32-make
...
makefile:26: warning: ignoring old commands for target `.c.o'
g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -shared -Wl,-subsystem,console -Wl,-s -o sip.pyd siplib.o apiversions.o descriptors.o qtlib.o threads.o objmap.o bool.o -LC:\Python25\libs -lpython25
siplib.o:siplib.c:(.text+0x6f40): undefined reference to `_PyUnicode_FromStringAndSize'
siplib.o:siplib.c:(.text+0x7040): undefined reference to `_PyUnicode_FromStringAndSize'
siplib.o:siplib.c:(.text+0x71d0): undefined reference to `_PyUnicode_FromStringAndSize'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [sip.pyd] Error 1
mingw32-make[1]: Leaving directory `C:/Qt/sip-4.9-snapshot-20090808/siplib'
mingw32-make: *** [all] Error 2

With Python 2.5



----- Original Message ----
From: Phil Thompson <phil at riverbankcomputing.com>
To: PyQt Mailing List <pyqt at riverbankcomputing.com>
Sent: Sunday, August 9, 2009 5:23:48 AM
Subject: [PyQt] PyQt v4.6 and SIP v4.9 Snapshots

The current PyQt and SIP snapshots are now driven from the v4.6 and v4.9
branches respectively. These implement the (selectable) incompatible API
changes described in the Roadmap.

You can now decide whether, for example, QVariant and/or QString should be
automatically converted to and from the corresponding Python types. The
default for Python v3 is to use the newer APIs, so I have updated the
installer for Python v3.1. All the demos should work with both Python v2
and v3.

I've decided not to look at individual methods to see if they should be
made more Pythonic - raising an exception rather than returning an error
flag for example. I don't think there are too many of these and they seem
to be in areas that duplicate standard Python - so if you want a more
Pythonic API then use the Python API. Happy to discuss further if somebody
wants to make a strong argument the other way.

Phil
_______________________________________________
PyQt mailing list    PyQt at riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt



      


More information about the PyQt mailing list