Peer to Peer DBus Connection with Qt
Thiago Macieira
thiago at kde.org
Thu Mar 28 18:05:36 PDT 2013
On quinta-feira, 28 de março de 2013 23.47.56, Tim Sander wrote:
> > In turn, your client is doing:
> >
> > QDBusReply<QString> reply=QDBusConnection::systemBus().call(m);
> > if(reply.isValid()) {
> >
> >
> > Since the system bus registration failed, the call above will also fail.
> > Therefore, you never enter the block of code that tries to test the peer
> > connection.
>
> I am sure that the service was running as i have been seeing it on the dbus
> viewer. Also this is a embedded system with a dbus which is configured very
> relaxed as the software environment is strictly defined.
>
> > Conclusion: we have no idea if the peer connection works or not. You did
> > not get to test it.
>
> I am sure that i tested it but i am not sure if my programs where correct
> as the documentation of the peer to peer stuff is very sparse.
Well, the point is that I can't run your test on my system. I will not modify
my system bus's configuration just for your test.
Can you send a testcase that does not try to use the system bus?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- 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.freedesktop.org/archives/dbus/attachments/20130328/488e8859/attachment.pgp>
More information about the dbus
mailing list