[Interest] Problems generating QtDBus adaptor code

Max Schettler schettle at mail.uni-paderborn.de
Fri Dec 12 15:42:29 CET 2014


I try to use QtDBus to implement a freedesktop interface
I got the xml introspection file for the interface and tried to generate
the adaptor code using.
However I get the following error message:
"$ qdbusxml2cpp service.xml -a ServiceAdapter         :(
Got unknown type `a{sv}'
You should add <annotation name="org.qtproject.QtDBus.QtTypeName.In0"
value="<type>"/> to the XML description"

This confuses me, because I extracted the specification from an
implementation of the interface and did not write it myself.
Did I do something wrong? Or is either the implementation not correct or
might it be a bug in QtDbus?


More information about the Interest mailing list