Hi,
I would like to understand why the below code snippet doesnot works(Filesystem path doesnot returns any) in Ubuntu 12.04 minimal version where as It works fine in Ubuntu 12.04 desktop version on target tegra3 device. QDBusMessage Reply; QDBusInterface* Connection= new QDBusInterface(DISK_SERV,HAL_MGR_PATH,DISK_SERV,QDBusConnection::systemBus(), this); Reply = Connection->call("EnumerateDevices"); if( QDBusMessage::ReplyMessage == Reply.type()) { QDBusArgument dbusarg = qvariant_cast<QDBusArgument>(Reply.arguments()[0]); dbusarg.beginArray(); while(!dbusarg.atEnd()) { QVariant variant = dbusarg.asVariant(); QDBusObjectPath dbusObjectPath = qvariant_cast<QDBusObjectPath> (variant); mFileSystemPaths.append(dbusObjectPath.path()); } dbusarg.endArray(); } delete Connection; Please let me know if there are any dependencies on DBUS for the above code to work On linux systems as this code retrieves the file system path like /dev/sda1 for example. Thanks and Regards, Ramakanth From: Ramakanthreddy Kesireddy Sent: 17 July 2013 17:37 To: interest@qt-project.org Subject: DBus on X11 using Qt5 Hi, Please let me know how can we verify if DBus is working on X11(Ubuntu 12.04 Minimal) or if there are any dependent packages to be installed for DBus. Iam using Qt5.0.2 sdk. Thanks and Regards, Ramakanth ________________________________ DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest