As a Windows programmer, I am not in DBUS, but what you have to do is mentioned in the part "The QtDBus Type System | Extending the type system" and "QDBusArgument Class Reference" of the documentation:
1. declare your structure as a Qt meta-type (Q_DECLARE_METATYPE)
2. reimplement the streaming operators << and >>
3. in your programm, you should register (qDBusRegisterMetaType()) your datatype
Concerning the char array issue, you could use a QString or send the chars one by one, surely not elegant but it could work...
Bookmarks