QT and dbus - no such signal
michael_zanetti at gmx.net
Fri Jan 8 13:24:08 CET 2010
On Friday 08 January 2010 12:52:14 Christian Rüb wrote:
> I am about to write my own little GPS application in Qt and try to connect
> to FixStatusChanged signal from Gypsy but have the following problem
> Code snippet:
> deviceInterface = new QDBusInterface("org.freedesktop.Gypsy",
> "/org/freedesktop/Gypsy/default", "org.freedesktop.Gypsy.Device",
> QDBusConnection::systemBus(),this); ...
> connect(deviceInterface, SIGNAL(FixStatusChanged(int)), this,
deviceInterface = new QDBusInterface("org.freedesktop.Gypsy", "/default",
Qt doesn't need the full path for the node again.
Here you find some very useful QtDBus examples:
Not sure if you know about "qdbusviewer". It comes with your Qt4 installation
and helps you a lot debugging and understanding DBus.
Hope this helps.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.openmoko.org/pipermail/community/attachments/20100108/15cb519a/attachment-0001.pgp
More information about the community