Sending List of Variants over D-Bus connection

Pavel Strashkin pavel.strashkin at gmail.com
Fri Jul 22 12:45:15 PDT 2011


The Qt operators support it too.
http://qt.gitorious.org/qt/qt/blobs/4.7/tests/auto/qdbusmarshall/tst_qdbusmarshall.cpp
- there is a lot of examples.

2011/7/22 Bogdan Lotko <boguslaw.lotko at chello.at>:
> Thanks for the answer,
>
> I also think D-Bus should't be a problem, what about Qt Sreaming operators?
>
> bogdan
>
> On 7/22/2011 21:30, Pavel Strashkin wrote:
>>
>> The sentence is a bit strange and confusing, but you can. D-Bus
>> supports arrays of variants and hashes with a variant as a value.
>>
>> 2011/7/22 Bogdan Lotko<boguslaw.lotko at chello.at>:
>>>
>>> Hello,
>>>
>>> In the QtDBus Type System description one can read:
>>>
>>> Warning: You may not use any type that is not on the list above,
>>> including
>>> typedefs to the types listed. This also includes QList<QVariant>  and
>>> QMap<QString,QVariant>.
>>>
>>> Does it mean, that sending of the QList<QVariant>  over the D-Bus is not
>>> possible ?
>>>
>>> Regards
>>>
>>> bogdan
>>>
>>> _______________________________________________
>>> dbus mailing list
>>> dbus at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/dbus
>>>
>>>
>>
>
>


More information about the dbus mailing list