[Qt-interest] Fwd: A Qt-dbus question

Thiago Macieira thiago at kde.org
Thu Sep 2 18:36:50 CEST 2010


Em Quinta-feira 02 Setembro 2010, às 16:41:48, Jeroen De Wachter escreveu:
> Hi,
> 
> I think you lack some streaming operators in your code...
> Qt has no built-in way to find out how to serialize your custom MyData
> struct.
> 
> You should take a look at the documentation at
> http://doc.trolltech.com/4.6/qdbusargument.html#details
> to see how to do add those operators
[snip]

Jeroen is right. There's no call to qDBusRegisterMetaType anywhere in your 
code and that's required for the type ArrayOfData to be supported.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      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: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100902/c4139004/attachment.bin 


More information about the Qt-interest-old mailing list