Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.1
-
None
-
-
0118dcc8e (dev), 0c63a33e9 (6.8), 9519d75fa (6.7)
Description
There is an error in
https://doc.qt.io/qt-6/qquickrhiitem.html
The line
NumberAnimation on angle { from: 0; to: 360: duration: 5000; loops: Animation.Infinite }
should be
NumberAnimation on angle { from: 0; to: 360; duration: 5000; loops: Animation.Infinite }
(The colon after 360 should be replaced by a semicolon)
Also, the example is not complete as given in https://doc.qt.io/qt-6/qquickrhiitem.html. The shaders are missing. They can be found in https://doc.qt.io/qt-6/qrhiwidget.html but should be included in https://doc.qt.io/qt-6/qquickrhiitem.html as well, along with the explanation of how to compile them.