[Qt D-Bus] "Sorry, can't pass arg of type short yet"

Thiago Macieira thiago at kde.org
Sat Sep 9 10:49:58 PDT 2006


Gary Cramblitt wrote:
>I get subject message when using dbus command-line utility and
> attempting to call a method that takes a short (int16) argument.  I
> also get similar error when calling from dbus-viewer ("Cannot marshall
> parameter of type 127").

It was a limitation of Qt's meta type system: short wasn't part of 
QVariant. Now it is internally. So, actually, the limitation can be 
lifted.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060909/63a72bda/attachment.pgp


More information about the dbus mailing list