Qt 6.2
Qt QML
QML Example - Dynamic Scene
Qt 6.2.0 Reference Documentation
QML Example - Dynamic Scene
This example demonstrates creating components dynamically.
Example project @ code.qt.io