On 06/04/2010 07:31 PM, Sascha Peilicke wrote:
>> As far as I know, Qt D-Bus needs annotations to define the
corresponding
>> local types. How do you intend to add them to the installed files?
>
> Uhm, currently I added those locally. I agree, we'd have to parse those XML
> files and add corresponding annotations. Maybe someone already wrote a tool
> for that. As an alternative, we could simply add those annotations to the
> provided files as they shouldn't hurt.
Seems like dbus-binding-tool doesn't allow annotations in XML files altough
they're in the DTD. So I'm attaching my (resulting) files for reference as
well as the patch for the original files (won't work though).
These annotations should be in the source xml in my opinion.
There is already a script that strips docs -- it could also strip
annotations if needed (and if the qt parser can read the *-full.xml
versions). Fixing dbus-binding-tool is another option.
Jussi