Congratulations to our 2022 Qt Champions!

Problem with QDBusArgument unmarshalling (without sending via dbus).

  • Greetings everybody!

    During writing some tests we faced a problem with unpacking QDBusArgument in case the message was not really sent via dbus.
    If we send custom type via dbus both marshaling and unmarshaling are performed without any error.
    But if we try to unpack QDBusArgument without sending it via dbus we get "QDBusArgument: read from a write-only object" error and empty object as result of unpacking.
    Could you please if it is possible to "trick" Qt and perform unmarshaling even if we do not send object via dbus?

    Thank you for your support!

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    That's a question you should rather ask on the interest mailing list. You'll find there Qt's developers/maintainers (this forum is more user oriented)

  • Ok. Thank you for the answer. I'll try developer mailing list.

  • Lifetime Qt Champion

    Just to be clear: it's the interest mailing list you should post to, the developer mailing list is for Qt development, you're a developer using Qt ;)

  • Ok. Thank you =)

Log in to reply