[Interest] Problems generating QtDBus adaptor code

Blasche Alexander alexander.blasche at theqtcompany.com
Tue Dec 16 08:42:00 CET 2014


Essentially you must edit your xml file pretty much the way the warning tells you to do.

The following links should help you to work out the problem:



From: interest-bounces+alexander.blasche=theqtcompany.com at qt-project.org <interest-bounces+alexander.blasche=theqtcompany.com at qt-project.org> on behalf of Max Schettler <schettle at mail.uni-paderborn.de>
Sent: Friday, December 12, 2014 15:42
To: interest at qt-project.org
Subject: [Interest] Problems generating QtDBus adaptor code


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?

Interest mailing list
Interest at qt-project.org

More information about the Interest mailing list