Laur IVAN

D-BUS: DBUS and Mad scientists… – 2004 Style

Posted by in Software

TL;DR: This post is about an experience I had in 2004 and it’s part of my consolidating technical posts I wrote in time. It may or may not be relevant to today’s technologies. For the last while I was poking around with the glorious D-BUS… As it’s always the case with new cutting edge technology, it’s done by one or more very good, brilliant one might say (posh british accent here) people. I always have this image of “mad scientist” associated with that :). DBUS is great, is monumental, but…read more

DBus and Qt programming – part 2

Posted by in Software

Note: This is a really old post which was originally published in 2007. Stuff may have changed since both with Qt and D-BUS The D-Bus translation First, note the “arg0” annotation, required for the struct type:

This actually helps the qdbusxml2cpp to typ-ify the generated code. On the client (controller) part, we use the following command:

On the server (car) part, use the command:

for the same car.xml file. The XML resulted from the introspection description for structer is translated by the Qt into:

aka first…read more

DBus and Qt programming

Posted by in Software

For the past few days I’ve been trying to get more complex data sent via D-Bus. As one would say here in Ireland: Je’zus H. Christ Playing with python was easy. There are lots of examples on communicating complex data structures. But with Qt… It’s a bit more complex, because there are only a set of simple examples. A little experiment: If you find this post and ad below useful, please check the ad out :-)

Some updates…

Posted by in Software

Note: This is a really old post transferred from Laurii for historical and consolidation purposes. First message! I’ve got my first D-BUS message sent from the style UI to the server. It’s an “add style” message, but there’s not much beyond this progress. The upside is that I think the D-BUS Qt API is quite mature and stable. Well, it should be: D-BUS has finally reached 1.0, and the API is at it’s second or third iteration… A little experiment: If you find this post and ad below useful, please…read more

Ever Closer

Posted by in Software

I’m playing with D-Bus, QT4 and looking at KDE4…… KDE4 is a mess right now. I’m waiting for it’s next build because I have to launch stuff by hand now. aka it ain’t working. D-Bus in Qt4 however is usable and I’m playing with interfaces for my style thing. If I can, I’ll try to implement the dbus communication over the week-end. Then, the cool stuff will happen: The daemon with it’s repository The controller (daemon manager front-end) and finally the style implementation. I hope to have a preview in…read more

DBUS and Mad scientists…

Posted by in Random, Software

For the last while I was poking around with the glorious “D-BUS”… As it’s always the case with new cutting edge technology, it’s done by one or more very good, brilliant one might say (posh british accent here) people. I always have this image of “mad scientist” associated with that :)) DBUS is great, is monumental, but it took me 2 weeks to make the darn thing work with suse (stand-alone I mean). So I’m writing a tiny bit of a tutorial to show what you need to make DBUS…read more