That's usually because you don't have a file called
keusermanager.cpp
available to make. Check that:- that file exists.
- you're in the right directory when you make.
qdbuscpp2xml
To generate the XML we will be using the qdbuscpp2xml command line tool that comes with Qt. This program takes a C++ source file and generates a D-Bus XML definition of the interface for us. It lets us to define which methods to export using the following command line switches:Switch | Exports |
---|---|
-S | all signals |
-M | all public slots |
-P | all properties |
-A | all exportable items |
-s | scriptable signals |
-m | scriptable public slots |
-p | scriptable properties |
-a | all scriptable items |
$> qdbuscpp2xml -M -s background.h -o org.foo.Background.xml
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> <node> <interface name="org.foo.Background"> <signal name="backgroundChanged"> </signal> <method name="refreshBackground"> </method> <method name="currentBackground"> <arg type="s" direction="out"/> </method> <method name="setBackground"> <arg type="b" direction="out"/> <arg name="name" type="s" direction="in"/> </method> </interface> </node>
No comments:
Post a Comment