Re: [Interest] Using QDBusConnection::sessionBus()

2015-12-22 Thread Thiago Macieira
On Monday 21 December 2015 22:58:25 Bernhard Lindner wrote: > Well... that's a pitty. So I will try to achive the same using QProcess > command line invocations. > > I should probably report that in some way. Is it a (K)Ubuntu or a systemd > issue? I also wonder if it makes sense to report it usin

Re: [Interest] Using QDBusConnection::sessionBus()

2015-12-21 Thread Bernhard Lindner
> Bus is the connection valid? Is it connected? Yes. > From what I can tell here, you're doing nothing wrong. The bug is in > systemd. Well... that's a pitty. So I will try to achive the same using QProcess command line invocations. I should probably report that in some way. Is it a (K)Ubuntu

Re: [Interest] Using QDBusConnection::sessionBus()

2015-12-21 Thread Thiago Macieira
On Sunday 20 December 2015 11:01:56 Bernhard Lindner wrote: > Thanks Thiago that you actually responded to that confusing question. I was > exhausted and didn't add the most important information. Let me try again > after getting some sleep: > > I intended to use QDBusConnection::sessionBus() (Kub

Re: [Interest] Using QDBusConnection::sessionBus()

2015-12-20 Thread Bernhard Lindner
Thanks Thiago that you actually responded to that confusing question. I was exhausted and didn't add the most important information. Let me try again after getting some sleep: I intended to use QDBusConnection::sessionBus() (Kubuntu 15.10 running Qt5.4.2) to access the systemd user session bus

Re: [Interest] Using QDBusConnection::sessionBus()

2015-12-19 Thread Thiago Macieira
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 connec

[Interest] Using QDBusConnection::sessionBus()

2015-12-19 Thread Bernhard Lindner
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. Any ideas what the reason could be that sessionBus() does not return a valid interface? -- Best Regards Bernhard Lindner sig