Important: Please read the Qt Code of Conduct -

Qdbus marshalling for array of structures

  • Hallo.
    We are trying with marshalling of a structure which internally contains an array of structure.
    It has a dbus-signature of ((yb)ua(y(sss)(sss))).

    Q_DECLARE_METATYPE(structure) [both internal and overall structure] and also
    is done along with the marshalling for both structure and array.

    When data is sent from the server, on the client end, the array (y(sss)(sss)) length always returns as zero.

    any leads in this regard would be of great help.

    many thanks in advance.
    with best regards, naveen.

Log in to reply