Re: [Development] QMetaType and non-const references

2022-07-20 Thread Thiago Macieira
On Tuesday, 19 July 2022 23:03:15 PDT Ulf Hermann wrote: > We don't only use signals and slots in QML. We can also invoke methods > directly using QMetaObject::invokeMethod() and friends. And we call > property write accessors. Being able to encode references and rvalue > references in QMetaType co

Re: [Development] Code Review of Build File Changes

2022-07-20 Thread Thiago Macieira
On Wednesday, 20 July 2022 11:29:57 PDT Mattie Nejati wrote: > I’m Mattie, a Ph.D. student at the University of Waterloo and I’ve been > studying the code review process of build files in Qt. For example, I’ve > found that changes to build files are 2 to 4 times less likely to be > discussed during

Re: [Development] Code Review of Build File Changes

2022-07-20 Thread Mattie Nejati
Note that the form no longer requires participants to use a Google account. Best, Mattie From: Development on behalf of Mattie Nejati Sent: Wednesday, July 20, 2022 2:29 PM To: development@qt-project.org Subject: [Development] Code Review of Build File Changes

[Development] Code Review of Build File Changes

2022-07-20 Thread Mattie Nejati
Hi Developers, I’m Mattie, a Ph.D. student at the University of Waterloo and I’ve been studying the code review process of build files in Qt. For example, I’ve found that changes to build files are 2 to 4 times less likely to be discussed during code review than changes to source code or test

Re: [Development] What is the correct way to use QTransform to rotate a QImage by the Y axis?

2022-07-20 Thread Eirik Aavitsland
Ok as far as I can see, this does not have anything to do with image transformations as such. Using the same transform to to map just a QRect/QRectF shows the same issue. As I understand it, the issue here is that when doing perspective transformation calculations, one needs to know how far

[Development] How to do deprecation

2022-07-20 Thread Edward Welbourne
Hi all, TL;DR: there's a new [[Deprecation]] wiki page, please review. We noticed recently that some APIs had been wrapped in #if-ery on QT_DEPRECATED_SINCE(major, minor) without having QT_DEPRECATED or one of the QT_DEPRECATED_VERSION* macros prepended to the actual declarations within that #if-

[Development] [Announce] Qt Creator 8 released

2022-07-20 Thread List for announcements regarding Qt releases and development via Development
We are happy to announce the release of Qt Creator 8! https://www.qt.io/blog/qt-creator-8-released -- Eike Ziller Principal Software Engineer The Qt Company GmbH Erich-Thilo-Straße 10 D-12489 Berlin eike.zil...@qt.io http://qt.io Geschäftsführer: Mika Pälsi, Juha Varelius, Jouni Lintunen Sitz d

Re: [Development] What is the correct way to use QTransform to rotate a QImage by the Y axis?

2022-07-20 Thread JiDe Zhang
The software backend and opengl backend have same as bug, so I think the bug is not related to scene graphics backend. I conjecture this bug is related to QQuickRotation::applyTo, It's use the QMatrix4x4::projectedRotate, In elsewhere, this QMatrix4x4 will be converted to a QTransform, so I star

Re: [Development] What is the correct way to use QTransform to rotate a QImage by the Y axis?

2022-07-20 Thread Allan Sandfeld Jensen
On Mittwoch, 20. Juli 2022 10:43:36 CEST JiDe Zhang wrote: > I trying fix https://bugreports.qt.io/browse/QTBUG-75954, I think the > problem is related to it. Interesting. Might be worth checking out if it acts differently between different scenegraph backends. RHI OpenGL vs Software for instance

Re: [Development] What is the correct way to use QTransform to rotate a QImage by the Y axis?

2022-07-20 Thread JiDe Zhang
I trying fix https://bugreports.qt.io/browse/QTBUG-75954, I think the problem is related to it. From: Allan Sandfeld Jensen Sent: Wednesday, July 20, 2022 16:32 To: development@qt-project.org Cc: JiDe Zhang Subject: Re: [Development] What is the correct way to u

Re: [Development] What is the correct way to use QTransform to rotate a QImage by the Y axis?

2022-07-20 Thread Allan Sandfeld Jensen
On Mittwoch, 20. Juli 2022 07:48:47 CEST JiDe Zhang wrote: > I want to rotate the image to 45 degrees by Y axis, what should I do? > Why rotate it around the Y axis? Would that just be a squeezing scale transform? 45 degrees would be scaling to cos(45) of the width. Are you sure you don't want t