Message: previous - next
Month: August 2018

dbus-1-tqt howto

From: deloptes <deloptes@...>
Date: Sun, 05 Aug 2018 22:20:44 +0200
Hi to all devs,
I spent already some time looking at bluez5 and I started playing with dbus
recently. So I was wondering how to use dbusxml2qt3 more efficiently in
creating interfaces and how to use them in code. Proxies but they are
rather straight forward to use, so my attention was on publishing services.
I have seen on many places in the TDE source code a different approach
(directly using dbus), so I wrote a howto, for all of us that would like to
add kind of abstraction when working with dbus in the future.
As a result I can conclude that dbusxml2qt3 is worth some improvement (bug
fixing), but overall turned out to be very useful so far.
Most of all, as shown in the example, creating a nice service with it's
Introspectable interface can be achieved with very low effort.

I hope you like it