Re: [Interest] Display color managed image

2015-12-31 Thread Boudewijn Rempt
On Wed, 30 Dec 2015, Caio S. Souza wrote: Hi! I posted this question on the QT forum and recommended me to ask it in the mailing list. I am developing an image manipulation app that must be color managed. I have a pixel buffer with the colors already converted to the display profile. I

Re: [Interest] Display color managed image

2015-12-31 Thread Allan Sandfeld Jensen
On Wednesday 30 December 2015, Caio S. Souza wrote: > Hi! > I posted this question on the QT forum and recommended me to ask it in > the mailing list. I am developing an image manipulation app that must > be color managed. I have a pixel buffer with the colors already > converted to the display

Re: [Interest] make qjsondocument recognize utf8 as utf8

2015-12-31 Thread Boudewijn Rempt
On Thu, 31 Dec 2015, Boudewijn Rempt wrote: Hm, I just built a Qt 5.5.1 myself on centos 6.7 in the chroot, and it still doesn't parse: [root@boud-VirtualBox jsonvalidator]# ./jsonvalidator /krita_build/plugins/pathshapes/calligra_shape_paths.json Invalid "invalid UTF8 string" I also got

[Interest] make qjsondocument recognize utf8 as utf8

2015-12-31 Thread Boudewijn Rempt
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:

Re: [Interest] make qjsondocument recognize utf8 as utf8

2015-12-31 Thread Thiago Macieira
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

Re: [Interest] make qjsondocument recognize utf8 as utf8

2015-12-31 Thread Boudewijn Rempt
On Thu, 31 Dec 2015, Thiago Macieira wrote: What was the error from your test program? I want to see the errorString from QJsonParseError and the offset. On CentOS 6.7, with either a home-grown Qt 5.5.1 or the one from Epel: With kritatangentnormalpaintop.json, the error is: "invalid UTF8

Re: [Interest] make qjsondocument recognize utf8 as utf8

2015-12-31 Thread Boudewijn Rempt
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

Re: [Interest] Display color managed image

2015-12-31 Thread Gunnar Roth
Well sounds cool, but on my mac book i only get a black square when loading even the sample image. > Am 31.12.2015 um 14:19 schrieb Boudewijn Rempt : > > On Thu, 31 Dec 2015, Gunnar Roth wrote: > >> Hi,doing my regular github scan for qml keyword, >> I just found this

Re: [Interest] Display color managed image

2015-12-31 Thread John Layt
On 30 December 2015 at 22:25, Caio S. Souza wrote: > Hi! > I posted this question on the QT forum and recommended me to ask it in > the mailing list. I am developing an image manipulation app that must > be color managed. I have a pixel buffer with the colors already >

Re: [Interest] make qjsondocument recognize utf8 as utf8

2015-12-31 Thread Thiago Macieira
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

Re: [Interest] Display color managed image

2015-12-31 Thread Boudewijn Rempt
On Thu, 31 Dec 2015, Gunnar Roth wrote: Hi,doing my regular github scan for qml keyword, I just found this https://github.com/erikhvatum/StackStream A small collection of Qt and QML widgets for viewing images and image stack collections of any size + a QML scene graph plugin providing 32 bit

Re: [Interest] make qjsondocument recognize utf8 as utf8

2015-12-31 Thread Thiago Macieira
On Thursday 31 December 2015 14:03:30 Boudewijn Rempt wrote: > > What's the Qt error string in that CentOS? > > When running moc, the error was: > > Warning: Plugin Metadata file "krita_tiff_import.json" does not contain a > valid JSON object. Declaration will be ignored What was the error from

Re: [Interest] Display color managed image

2015-12-31 Thread Boudewijn Rempt
On Thu, 31 Dec 2015, Gunnar Roth wrote: Well sounds cool, but on my mac book i only get a black square when loading even the sample image. Isn't that the well-known compatibility profile problem that OSX has? fmt.setRenderableType(QSurfaceFormat::OpenGL);

Re: [Interest] make qjsondocument recognize utf8 as utf8

2015-12-31 Thread Boudewijn Rempt
On Thu, 31 Dec 2015, Thiago Macieira wrote: 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

Re: [Interest] Display color managed image

2015-12-31 Thread Gunnar Roth
Hi, doing my regular github scan for qml keyword, I just found this https://github.com/erikhvatum/StackStream A small collection of Qt and QML widgets for viewing images and image stack collections of any size + a QML scene graph plugin providing 32

Re: [Interest] Using std::string in android projects

2015-12-31 Thread Jason H
> Sent: Wednesday, December 30, 2015 at 6:48 PM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] Using std::string in android projects > > On Wednesday 30 December 2015 23:05:02 Jason H wrote: > > I'm trying to use a library that uses

Re: [Interest] Display color managed image

2015-12-31 Thread Allan Sandfeld Jensen
On Thursday 31 December 2015, Gunnar Roth wrote: > Hi, > doing my regular github scan for qml keyword, > I just found this https://github.com/erikhvatum/StackStream > > > A small collection of Qt and QML widgets for viewing images and image stack >

Re: [Interest] Using std::string in android projects

2015-12-31 Thread Jason H
Obligatory RTFM: http://stackoverflow.com/questions/11662644/compile-ndk-code-using-gnu-libstd[http://stackoverflow.com/questions/11662644/compile-ndk-code-using-gnu-libstdc]   I read that, but I don't know how it relates to Qt projects. I'm not using an Android.mk as far as I can tell, I'm just

Re: [Interest] make qjsondocument recognize utf8 as utf8

2015-12-31 Thread Thiago Macieira
On Thursday 31 December 2015 19:29:11 Thiago Macieira wrote: > > The offset: 494 > > > > On Ubuntu 15.10, with the commercial 5.5.1, the output is Valid. > > > > > For that matter, in the file that produces the error, is it using CRLF > > > line- endings? The one from your email does. > > > >

Re: [Interest] make qjsondocument recognize utf8 as utf8

2015-12-31 Thread Thiago Macieira
On Thursday 31 December 2015 15:19:44 Boudewijn Rempt wrote: > On Thu, 31 Dec 2015, Thiago Macieira wrote: > > What was the error from your test program? I want to see the errorString > > from QJsonParseError and the offset. > > On CentOS 6.7, with either a home-grown Qt 5.5.1 or the one from

Re: [Interest] Using std::string in android projects

2015-12-31 Thread Thiago Macieira
On Thursday 31 December 2015 16:29:41 Jason H wrote: > I'll gladly use whatever works. The answer on why I went that route is > because simply "that's what I found on the internet". > > Could you tell me what I need to change to get std::strings working with > libstdc++? No clue. I don't develop