VTK fails to build with Qt6
On ArchLinux (but probably unrelated), I'm unable to build VTK with Qt 6.2.2-1
cmake -DVTK_GROUP_ENABLE_Qt=WANT -DVTK_QT_VERSION=6 ../src/
make
Generating qmltypes file using qmlplugindump
QQmlComponent: Component is not ready
make[2]: *** [GUISupport/QtQuick/qml/CMakeFiles/qmlvtkplugin.dir/build.make:155: lib/qml/VTK.9.1/libqmlvtkplugin.so] Error 3
make[2]: *** Deleting file 'lib/qml/VTK.9.1/libqmlvtkplugin.so'
make[1]: *** [CMakeFiles/Makefile2:11910: GUISupport/QtQuick/qml/CMakeFiles/qmlvtkplugin.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Edited by Mathieu Westphal (Kitware)