[Interest] make qjsondocument recognize utf8 as utf8

Boudewijn Rempt boud at valdyas.org
Thu Dec 31 13:52:09 CET 2015


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.

-- 
Boudewijn Rempt | http://www.krita.org, http://www.valdyas.org



More information about the Interest mailing list