I’m running one of the VTK Qt examples and I’m not sure if I’m doing this correctly. I’ve configured and generated on CMake, then built on Visual Studio, then used Command Prompt to open the executable file however I get the following error:
Hi, I am using “qt+cmake+vtk” for developing now, Normally, I down examples from vtk’s web, then build them in the qt with cmake. if you want to publish them into other computers or to excute them in the system, you can use “windeployqt.exe” in win10 system, it will create the package for excuting with dll files of qt, and in sure that the vtk package path is in the evironment of system.
Here’s the DLLs I have to distribute with my application. Yours will likely to be different, since you’re building with Visual Studio and you use only Qt and VTK. This list shows that, in addition to Qt and VTK, you have to distribute the Visual Studio runtime and other possible libraries you may use in the future as well.