Re: [Interest] Optimizing performance with hundreds of widgets

2017-02-21 Thread BAILLY Yves
I'd consider using QGraphicsScene/QGraphicsView maybe with a QOpenGLWidget as viewport. See the example "4 ships" http://doc.qt.io/qt-5/qtwidgets-graphicsview-chip-example.html -Original Message- From: Interest [mailto:interest-bounces+yves.bailly=hexagon@qt-project.org] On Beha

Re: [Interest] Utilizing the GPU, how to start?

2016-07-12 Thread BAILLY Yves
> -Original Message- > From: Interest [mailto:interest-bounces+yves.bailly=verosoftware.com@qt- > project.org] On Behalf Of Thiago Macieira > Sent: Wednesday, July 06, 2016 8:59 AM > To: interest@qt-project.org > Subject: Re: [Interest] Utilizing the GPU, how to start? > > [...] > > Lon

[Interest] Detecting QString encoding errors

2016-05-18 Thread BAILLY Yves
Greetings all, Is it possible to detect errors while encoding a QString from char*? Here's the case: I get a string as a char* form an external library (on which I don't have any control). This string can use either UTF8 encoding, or "local8bit" encoding - thus may vary from a user to the other