[Interest] Using QDBusConnection::sessionBus()

Thiago Macieira thiago.macieira at intel.com
Sun Dec 20 03:20:08 CET 2015


On Saturday 19 December 2015 22:14:14 Bernhard Lindner wrote:
> Hi!
> 
> I tried to use QDBusConnection::sessionBus() from Qt 5.4.2 running Kubuntu
> 15.10. The function returns an invalid interface. Using systemBus() my code
> works fine.

It doesn't return an interface at all. It returns a connection.

> Any ideas what the reason could be that sessionBus() does not return a valid
> interface?

Assuming you meant "valid connection", check that your session bus daemon is 
running.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list