This is an example to show how to use QSerializer to
serialize a Q_GADGET class to a DBus message with type signature a{sv}
.
src
include a Q_GADGET classResponse
;apps/server
is a DBus service working on session bus, usingResponse
as a DBus reply;apps/client
is a program call DBus method provided byapps/server
, and print theResponse
it received in DBus method-return message.