[Development] QtDBus and kdbus

Thiago Macieira thiago.macieira at intel.com
Tue Nov 26 19:15:17 CET 2013


On terça-feira, 26 de novembro de 2013 17:48:00, Krzesimir Nowak wrote:
> Hi.
> 
> From what I have seen here and there, there are plans to get rid of
> libdbus-1 dependency in QtDBus. I guess that this is to be done by
> implementing the DBus protocol from scratch in QtDBus (like GLib has
> done with their GDBus). I guess that there would be a some kind of DBus
> backend based on UNIX sockets. Were those plans taking into account also
> adding another backend basing on kdbus? Would actually adding kdbus
> backend to QtDBus be even considered for inclusion?

Yes, that's the end-goal. We'd replace our use of libdbus-1 with our own 
marshaller and socket handling code, then we'd adapt our marshaller to speak 
GVariant instead of DBus-1, then finally we'd add code to open the kdbus 
sockets if they exist.

> Not sure how relevant here is the work going on in
> git://anongit.kde.org/scratch/ahartmetz/d-sel.git. I guess this is going
> to land at some point in QtDBus, no? If I'm going to work on adding
> kdbus then should I base my work on it?

Andreas was the one who wanted to get started. His marshalling code (the one 
you linked to) would be imported into QtDBus as the first step I lined up 
above.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131126/f79d6418/attachment.sig>


More information about the Development mailing list