Behavior of pyqtProperties in a QDBusAbstractAdapter

Mark Locascio malocascio at
Fri Aug 6 21:01:50 BST 2021

Hi all,

I'm seeing some odd behavior from a QDBusAbstractAdapter, and I think it's because I don't fully understand all the ins and outs of DBus types. Here's an example I put together on github:

If you look at the documentation for the Bluez advertising API (, you'll see that there are several properties like Type, ServiceUUIDs, ManufacturerData, Appearance, and so on. In my code around line 47 (, I implement that interface in a class that extends QDBusAbstractAdaptor, and I add a pyqtProperty for each of the Bluez properties. When I look at the object in D-feet, some properties are properly listed. Others, however, are not listed (nor are they listed in the BLE advertisement). The ones that ARE present are Type, ServiceUUIDs, Includes, and LocalName. Values like Appearance (a uint16), ManufacturerData (a dict with uint8 keys), and ServiceData (a dict with string keys) are not. I assume because I'm doing something with the more complicated types that it doesn't like, but I'm not certain.

Can anyone help clear this up?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the PyQt mailing list