how to build vtk with qt6 qml support, and how to build vtk examples

new to vtk c++ package, please help. thanks

The build settings page goes into more details for enabling/disabling modules. You can enable the module via CMake option VTK_MODULE_ENABLE_VTK_GUISupportQtQuick:STRING=YES.