[Interest] make qjsondocument recognize utf8 as utf8

Thiago Macieira thiago.macieira at intel.com
Thu Dec 31 13:42:15 CET 2015


On Thursday 31 December 2015 12:36:07 Boudewijn Rempt wrote:
> I'm trying to build on CentOS 6.7 with Qt 5.5.1 from epel. I've got a bunch
> of json files that are valid, and are valid utf-8. Less and vi have no
> trouble showing the contents, but Qt's qjsondocument does, which means moc
> has a problem attaching the metadata to my plugin:
> 
> /krita/krita/plugins/formats/tiff/kis_tiff_import.cc:33: Warning: Plugin
> Metadata file "krita_tiff_import.json" does not contain a valid JSON
> object. Declaration will be ignored

This very same program, with the very same input file, prints:

Valid

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




More information about the Interest mailing list