开发者

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

开发者 https://www.devze.com 2023-01-27 10:18 出处:网络
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 resul

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

精彩评论

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