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



_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to