[PyQt] PyQt4 fails to build dbus.mainloop.qt extension with Python 3

Jonathan Riddell jriddell at ubuntu.com
Fri Jan 27 12:03:31 GMT 2012


On Fri, Jan 27, 2012 at 07:38:49AM +0100, Arfrever Frehtes Taifersar Arahesis wrote:
> dbus-python-1.0.0 was released on 2012-01-24 and introduced support for Python 3.
> 
> configure.py of PyQt4 needs to be fixed.
> iflags is b'-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include  -ldbus-1 -lpthread -lrt'
> str(iflags) is "b'-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include  -ldbus-1 -lpthread -lrt'"
> str(iflags).split() is ["b'-I/usr/include/dbus-1.0", '-I/usr/lib64/dbus-1.0/include', '-ldbus-1', '-lpthread', "-lrt'"]

Ubuntu has recently added a patch for this which I believe fixes the issue

http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/python-qt4/precise/view/head:/debian/patches/py3-fixes.patch

Jonathan


More information about the PyQt mailing list