<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Frutiger LT Com 45 Light";
        panose-1:2 11 3 3 3 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Frutiger LT Com 45 Light","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-family:"Frutiger LT Com 45 Light","sans-serif"'>Hello,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Frutiger LT Com 45 Light","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'>I would like to use the Telepathy IDL/XML as an extension to the D-Bus IDL/XML to develop two test applications that call each other.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'>This means that I am mostly interested in the IDL and discard most of the other nice features of Telepathy.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'>This is how far I got till now: I installed Telepathy and D-Bus and got the TP-QT4 sources (version 0.7.1). These have an example named &#8216;extensions&#8217;, which I used as the basis for my experiments.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'>With the help of this example, I was able to create a proxy code for this example and others (using qt4-client-gen.py). Now, I would love to implement the other stub, which implements the functionality (some people call this adaptor or skeleton, I guess), but I am failing at this task, because I could neither find a code generation tool for the QT4 binding to generate these stubs, nor could I use the native code generation tool from QT4, as qdbusxml2cpp fails with<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'>|Got unknown type `a(usua{sv})'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'>|You should add &lt;annotation name=&quot;com.trolltech.QtDBus.QtTypeName.Out0&quot; value=&quot;&lt;type&gt;&quot;/&gt; to the XML description<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'>If I had to annotate the XML all by myself, I could simply just annotate the DBus XML Introspection file (which I don&#8217;t want to do for other reasons).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'>So, my question is: how can I implement a proxy-adaptor pair using the QT4 binding and the Telepathy XML description. What am I missing?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'>I would appreciate an answer very much!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Frutiger LT Com 45 Light","sans-serif"'>Daniel<o:p></o:p></span></p></div></body></html>