开发者

How to express argument of type QVariantList in qdbus command line tool

Hello I'm trying to call an D-Bus interface method using qdbus command line tool, but I can't express one of the parameters of type QVariantList. How to express it so the call would pass and a result wouldn'开发者_开发问答t be a message "Could not convert 'x' to type 'QVariantList'".


My coworker found the answer. It is expressed as "(" "element" ")" so an empty QVariantList is "(" ")".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜