I want to expose methods of my application on System bus using Qt Dbus in Qt Creator. while using session bus ,the methods get exposed, but with system bus I am only able to see the Service name with which i registered but no methods to be exposed under it.(I am checking it in D-feet) What should i do ?
You have to place your config file (e.g: example-dbus.conf) in
/etc/dbus-1/system.d/
The example-dbus.conf file looks like:
Restart the dbus daemon with
/etc/init.d/d-bus restart
and now you should be allowed to connect to the system bus. In fact, if you not allowed to connect to the system bus, a error message will be shown.