[PyQt] Question about PyQt5's QDBus class
Phil Thompson
phil at riverbankcomputing.com
Sun Feb 1 16:45:48 GMT 2015
On 30/01/2015 2:40 pm, Valerio Baldisserotto wrote:
> Hello everybody!
> I was starting to use PyQt5.4 in python3 and needed to communicate with
> another process using dbus so I decided to use the PyQt5.4
> implementation.
> I need to pass to a method in dbus an array of string and a dictionary
> of string-variant (signature asa{sv} ) but when I call it using
> QDBusInterface.call() my array of strings gets converted to array of
> variants (signature ava{sv}, my dictionary sticks to it's right
> signature.
> Here [1] a more detailed explanation including also some attempts.
>
> My question is:How to pass to DBus an array of string without it beeing
> a variant using PyQt5?
Do you have a simple, complete script that demonstrates the problem?
Can you confirm if a C++ application would do as you expect?
Phil
More information about the PyQt
mailing list