Skip to content

Commit 3858f42

Browse files
committed
README: Add a note about render loop type
1 parent 230c53d commit 3858f42

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@ Button {
114114
}
115115
```
116116

117+
Please note that the ScratchCPP renderer only works with the basic scene graph render loop.
118+
Qt 6 uses the threaded render loop by default, so you'll have to disable it by calling this
119+
before constructing your application object:
120+
```cpp
121+
qputenv("QSG_RENDER_LOOP", "basic");
122+
```
123+
117124
<p align="right">(<a href="#readme-top">back to top</a>)</p>
118125
119126

0 commit comments

Comments
 (0)