Hi, 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: http://stackoverflow.com/questions/22253458/qdbusxml2cpp-unknown-type http://www.qtcentre.org/threads/58361-qdbusxml2cpp-unkown-type-must-add-annotation -- Alex ________________________________________ From: interest-bounces+alexander.blasche=theqtcompany....@qt-project.org <interest-bounces+alexander.blasche=theqtcompany....@qt-project.org> on behalf of Max Schettler <schet...@mail.uni-paderborn.de> Sent: Friday, December 12, 2014 15:42 To: interest@qt-project.org Subject: [Interest] Problems generating QtDBus adaptor code Hi, I try to use QtDBus to implement a freedesktop interface (org.freedesktop.Secret.Service). 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? Max _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest