Bugreport: QDBusArgument does not work with PyQt6

Phil Thompson phil at riverbankcomputing.com
Thu Jun 30 11:42:25 BST 2022


On 29/06/2022 12:48, JakobDev wrote:
> If you run the attached code with PyQt5 everything works as expected.
> but if you chance the imports from PyQt5 to PyQt6 you get this error:
> QDBusMarshaller: type `PyQt_PyObject' (65729) is not registered with
> D-BUS. Use qDBusRegisterMetaType to register it. It looks like PyQt6
> doesn't accept QDBusArgument.

What is the argument that is causing the problem?

While it would be easy enough to register PyQt_PyObject there wouldn't 
be much point if the other end doesn't know what to do with it.

Phil


More information about the PyQt mailing list