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....@qt-project.org 
[mailto:interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam....@qt-project.org]
 On Behalf Of Thiago Macieira
Sent: Wednesday, October 29, 2014 9:49 PM
To: interest@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@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.
============================================================================================================================

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

Reply via email to