Re: [Interest] Totally broken QRect::moveRight

2014-12-08 Thread Thiago Macieira
On Tuesday 09 December 2014 09:45:13 Igor Mironchik wrote: > Hi guys, > > I've found interesting bug in QRect in Qt 5.3.2. > > Look at this code: > > inline void QRect::moveRight(int pos) > { > x1 += (pos - x2); > x2 = pos; > } > > > How it can work? > > QRect( 0, 0, 10, 10 ).moveRi

[Interest] Totally broken QRect::moveRight

2014-12-08 Thread Igor Mironchik
Hi guys, I've found interesting bug in QRect in Qt 5.3.2. Look at this code: inline void QRect::moveRight(int pos) { x1 += (pos - x2); x2 = pos; } How it can work? QRect( 0, 0, 10, 10 ).moveRight( 10 ) produces QRect( 1, 0, 10, 10 )... -- Best Regards, Igor Mironchik. ___

[Interest] QMLCamera image capture, but not write to disk?

2014-12-08 Thread Jason H
I want to capture an image but not have it written to the disk. Is there any way in QML to do this? The documentation says onImageCaptured(QImage preview) awill happen then onImageSaved(QString url) will be fired when writing is complete. I would like the first but not the second to ever happen

[Interest] Cross plataform CPU load

2014-12-08 Thread Nuno Santos
Hi, Does anyone knows about a cpu load code for qt that I can use in all platforms (PC, Mac, iOS, Android)? I would like to implement a Qml element for the cpu load. Thanks, Nuno ___ Interest mailing list Interest@qt-project.org http://lists.qt-proj