forked from qt-creator/qt-creator
Rendering of preview tooltip 3D content requires rendering multiple frames to find the correct zoom level for a nice preview image. This used to be done in a synchronous loop, which doesn't work in Qt6. It doesn't work anymore because preview tooltip rendering uses a selection box encompassing the component scene for finding the proper zoom level. Selection boxes use custom geometry, which in Qt6 requires asynchronous rendering to allow the geometry to update between frames. Fixes: QDS-5600 Change-Id: Ib5e54a04ad5df2a8706fd22e554232feb45dd51e Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>