vtk export qt quick plugin is using qmlplugindump
but qmlplugindump unable to support cross-compile .
see : There are no plugin.qmltypes files with the plugins · Issue #108 · qml-box2d/qml-box2d · GitHub
root@7bbad34ef872:/repos/github/VTK/build# cmake -DCMAKE_TOOLCHAIN_FILE=/repos/vcpkg/toolchains/arm64-jetson-xavier-nx.cmake -DQMAK_EXECUTABLE=/build/xavier-nx/bin/qmake -GNinja -DVTK_REQUIRE_LARGE_FILE_SUPPORT=ON -DVTK_MODULE_ENABLE_VTK_RenderingQt:STRING=YES -DVTK_MODULE_ENABLE_VTK_ViewsQt:STRING=YES -DVTK_GROUP_ENABLE_Qt:STRING=YES -DVTK_MODULE_ENABLE_VTK_GUISupportQt:STRING=YES -DVTK_MODULE_ENABLE_VTK_GUISupportQtQuick:STRING=YES -DVTK_MODULE_ENABLE_VTK_libproj:STRING=NO -DVTK_USE_CUDA:BOOL=ON ..
CMake Error at ThirdParty/hdf5/vtkhdf5/config/cmake/ConfigureChecks.cmake:355 (list):
list index: 1 out of range (-1, 0)
Call Stack (most recent call first):
ThirdParty/hdf5/vtkhdf5/CMakeLists.txt:503 (include)
CMake Error at GUISupport/QtQuick/qml/CMakeLists.txt:74 (message):
qmlplugindump executable not found.
It is required to generate the qmltypes file for VTK Qml plugin.
-- Configuring incomplete, errors occurred!