[Interest] make qjsondocument recognize utf8 as utf8

Thiago Macieira thiago.macieira at intel.com
Thu Dec 31 13:56:12 CET 2015


On Thursday 31 December 2015 13:52:09 Boudewijn Rempt wrote:
> On Thu, 31 Dec 2015, Thiago Macieira wrote:
> > 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
> 
> Well, yes, that's my problem: on ubuntu 15.10, it prints valid, but on
> centos 6.7, invalid.

What's the Qt error string in that CentOS?

What is the Qt version on your Kubuntu?

And what are the processors on both machines?
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list