Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Linux, DBus, value of sender message



  • Hello everyone!

    I have simple question, is it possible to get sender value of dbus message in QDbusMessage?



  • I don't believe the message protocol contains that information unless your sender manually inserts an ID into the message being sent. A web search indicates there are some out of band mechanisms to determin the PID of a program using a specific bus endpoint, but not directly within the dbus messages.

    If I'm wrong then I'd love to see the solution myself.


Log in to reply