[PyQt] Co-installing different versions of dbus.mainloop.qt

Dmitry Shachnev mitya57 at ubuntu.com
Sun Jun 30 13:09:50 BST 2013


On Sun, Jun 30, 2013 at 3:36 PM, Phil Thompson
<phil at riverbankcomputing.com> wrote:
> On Sun, 30 Jun 2013 15:21:53 +0400, Dmitry Shachnev <mitya57 at ubuntu.com>
> wrote:
>> I've built PyQt5 with dbus/ directory from the latest snapshot, and now
> I
>> get:
>>
>>>>> from dbus.mainloop.pyqt5 import DBusQtMainLoop
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>> ImportError: dynamic module does not define init function (PyInit_pyqt5)
>>
>> I think it's a bug.
>
> Try renaming PyInit_qt to PyInit_pyqt5 in dbus.cpp.

That works, thanks!

--
Dmitry Shachnev


More information about the PyQt mailing list