[Interest] QtDBus Example to read files from USB

Ramakanthreddy Kesireddy Ramakanthreddy.Kesireddy at TechMahindra.com
Thu Oct 30 05:55:19 CET 2014


Yes there is an error to indicate service doesn't exist.
response is: QDBusMessage(type=Error, service="", error name="org.freedesktop.DBus.Error.ServiceUnknown", error message="The name org.freedesktop.UDisks was not provided by any .service files", signature="", contents=() )

Please let me know how can we ensure that service exists and is running. Do we need to install any package?

Thanks and Regards,
Ramakanth


-----Original Message-----
From: interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam.com at qt-project.org [mailto:interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam.com at qt-project.org] On Behalf Of Thiago Macieira
Sent: Wednesday, October 29, 2014 9:49 PM
To: interest at qt-project.org
Subject: Re: [Interest] QtDBus Example to read files from USB

On Wednesday 29 October 2014 11:02:30 Ramakanthreddy Kesireddy wrote:
> Is there any way to determine whether dbus service is running or not 
> as the below code doesn't works in the latest Qt5.3 on Yocto?

Make the call and check if the reply was an error one indicating that the service doesn't exist.
--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


============================================================================================================================
Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================




More information about the Interest mailing list