Qt World Summit: Register Today!

Cannot read DBus property

  • Hi! I have a problem with QDBusInterface. I am trying to get a property and so I'm doing this->property("Name") (my class inherits from QDBusInterface), but it doesn't seem to return a valid QVariant (I tried converting to QDBusVariant as well) :( The property is a dict/map of string, variant. Could someone help me?

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Without any code it's pretty much Crystal Ball debugging. You should share the code you are currently using.

Log in to reply