[Interest] QDatastream, QMap, QImage serialization

Thiago Macieira thiago.macieira at intel.com
Thu May 17 16:58:51 CEST 2018


On Thursday, 17 May 2018 05:01:18 PDT Jean-Michaƫl Celerier wrote:
> Is there a reason why calling qRegisterStreamOperators<QImage>() would't
> work ?

Because the vector containng the list of function pointers doesn't exist for 
metatypes < QMetaType::User. You can't modify the built-in types.

Deriving from QImage and doing what you suggested would work.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Interest mailing list