https://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph.html#scene-graph-and-rendering the scene graph rendering will happen on a dedicated render thread. This is done to increase parallelism of multi-core processors and make better use of stall times such as waiting for a blocking swap buffer call.
似乎QtQuick有种多线程模式,UI事件在主线程,渲染在另一个线程
【 在 hgoldfish 的大作中提到: 】
: Qt 渲染本身发生于 UI 线程。
: 当检测到用户点击、键盘事件的时候,传递到另外一个业务线程,用户的代码运行在这个业务线程里面。
: 如果业务线程里面设置了控件的属性值,再传递到 UI 线程处理,更新用户界面。
: ...................
--
FROM 117.128.4.*