[Qt-interest] qdbusxml2cpp documentation

Will Rutherdale (rutherw) rutherw at cisco.com
Fri May 1 21:59:15 CEST 2009


Thank you, I'll look at those things.

-Will


-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Thiago Macieira
Sent: 1 May 2009 15:55
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] qdbusxml2cpp documentation

Will Rutherdale (rutherw) wrote:
>This qdbusxml2cpp question has nothing to do with passing by reference.
>That was a separate question in a separate email, with a separate
>subject line.

But which was a reply to your original email, which then makes it the
same 
thread and, therefore, related:
In-Reply-To: <50A8E1F8D9122546A7F67134915EDB7A3B8E92 at xmb-
rtp-21a.amer.cisco.com>

Please create a new message (as opposed to replying to one) when
creating 
an unrelated thread.

>I looked at your url and have seen that documentation already.  I have
>also tried the -h switch.
>
>The problem is, there is no useful detail in either source.  They say
>nothing about the structure of the xml it requires as input (e.g. what
>tags are required).  Nor do they explain clearly what output is to be
>expected.
>
>I hunted around for a long time to find just one example of a .xml
input
>file and tried running qdbusxml2cpp against it.  It gave me no
>meaningful output.

The XML format is that of the D-Bus introspection format. You can find
it 
in the D-Bus specification:
	
http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-
format

There's also one such XML file in the Qt examples directory and many
others 
in KDE sources, where QtDBus is used extensively.

Finally, there's the qdbuscpp2xml tool that parses a standard QObject-
based class header and outputs the XML format.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
      Sandakerveien 116, NO-0402 Oslo, Norway




More information about the Qt-interest-old mailing list