Hello, friend,
I suggest reading a bit about it here: https://stackoverflow.com/questions/41685872/how-to-render-programmatically-a-vtk-item-in-qml
And taking a look at these repositories for working code:
kind regards,
Paulo