You are right. The qdbusxml2cpp application is just to create c++
implementations of the dbus using the xml spec. I don't know about the exact
constraints but I know it does not recognize all the options you can have on
the xml file - I have had issues trying to use it to generate classes for
some more complex xml files. 

Not knowing how to deal with a "-" sounds reasonable once you can't define
methods in c++ with it on the name. 

You can always deal with the dbus w/o using qdbusxml2cpp. Also, I believe,
the sources for qdbusxml2cpp are included in Qt sources.

Felipe

-----Original Message-----
From: maemo-developers-boun...@maemo.org
[mailto:maemo-developers-boun...@maemo.org] On Behalf Of Tarantism
Sent: Wednesday, February 09, 2011 3:45 PM
To: Henning Heinold
Cc: maemo-developers
Subject: Re: qdbusxml2cpp - Invalid D-BUS interface problem

On Wed, 2011-02-09 at 10:28 +0100, Henning Heinold wrote:
> you could use dbus-monitor to examine what dbus-send is sending
> and what is the result out of the qdbuxml thinigie is. Maybee
> the tool does something wrong.

Thanks for the suggestion. dbus-monitor doesn't show any activity from
the qdbusxml2cpp script. I don't think the script does anything on dbus.
It's there to create CPP code from an xml file.

As I understand it, the qdbusxml2cpp is refusing to run as it considers
the interface name invalid because it contains hyphens. If this is
right, it seems that the qt dbus script can't be used for this
interface.


_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to