Hi there.
I need a hint on handling data structures send via DBus. The running service returns an Array of 2-Tuples containing two ints. In Python a(ii).
Calling the method from the Qt app returns me:
QDBusMessage answer = dbus_iface.call("hello", 'blaaa', 3, 4); QList data = answer.arguments();
qDebug() << answer: QDBusMessage(type=MethodReturn, service=":1.70", signature="a(ii)", contents=([Argument: a(ii) {[Argument: (ii) 3, 4], [Argument: (ii) 1, 2]}]) )
qDebug() << answer.at(0); QVariant(QDBusArgument, )
Thats nice because its working, i get my passed and the generated data back in the QDBusMessage. But how can i access them? Especially the empty QDBusArgument confuses me.
Thank you.