I have an application written with PyQt5 and QML. Part of the application should be a QML TreeView. From this answer I was able to craft a minimal example of how a TreeView