Hi,

Currently, unfortunately, there is no way to integrate with dbus from QML 
directly. The easiest way is to write a C++ wrapper which exposes your QML 
friendly methods and handles making the dbus calls.

I appreciate that this isn't ideal if you're not a C++ dev and are trying to 
learn QML only, but there is currently no other way.

Cheers, Tom.

----- Original message -----
> Hi List!
> 
> What is the easiest way to use D-Bus APIs on QML ?
> I've seen this article on the ineternet:
> http://minimoesfuerzo.org/2010/03/30/playing-qml-and-dbus/ But It looks
> quite complicate. It need a lot of preparation works (xml desc ->
> qdbusxml2cpp -> register into qml). Is there way to directly use D-Bus
> API by using Javascript on QML code ? (Actually, I expected that
> javascript interface such as like python-dbus.)
> 
> Best regards,
> JC

_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to