I understand. So effectively, if vtk is installed with the official package manager and links against Qt5, it is not possible to run this using Qt6.
Configuring and installing from source solves the problem, however.
Thanks for all the help, will remember this for the future.