All the Qt5 variables are fine. All you need to do is be able to provide the Qt6 variables to CMake.
Once you do, cmake -DVTK_QT_VERSION=6 -DQt6_DIR=<path to qt6>
, vtk should link against the Qt6 libraries.
All the Qt5 variables are fine. All you need to do is be able to provide the Qt6 variables to CMake.
Once you do, cmake -DVTK_QT_VERSION=6 -DQt6_DIR=<path to qt6>
, vtk should link against the Qt6 libraries.