EDIT: This setup is compatible with Qt 5 except Qt 5.15, VTK 8.2, and VS2017. To use with VS2019, you have to install the v141 toolset which can be added with the visual studio installer. Then, type "v141" under the "Optional toolset" option in the menu that pops up when clicking "configure" for the first time in CMake. This has to be done for both VTK and your personal project, cheers!
Tutorial for integrating Qt and VTK in a C++ CMake project. In this tutorial, we'll install Qt and compile VTK from source. Then, we will create a project with CMake which uses the two and create a form that renders data using the VTK classes. Then, we'll compile and execute the project using Visual Studio 2017.
Part 1: • How to use VTK with Qt using CMake an...
Part 2: • How to use VTK with Qt using CMake an...
Part 3: • How to use VTK with Qt using CMake an...
Qt : https://www.qt.io/download-qt-installer
CMake: https://cmake.org/download/
VTK : https://vtk.org/download/
GitHub Sample Project: https://github.com/VelazcoJD/QtVTKTut...
__ Social Media __
Instagram: / velazcojd
Podcast: / @unqualifiedgurus
__ Equipment __
Microphone: https://amzn.to/3leXZR4
Touch Input: https://amzn.to/30Z1Mex
Main Monitor: https://amzn.to/3rfwfiQ
Second Monitor: https://amzn.to/3Gw8NTv
Video Editing: https://amzn.to/3lgb8Jv
Video Camera: https://amzn.to/3nrwFjq
Main Lighting: https://amzn.to/3GLE9FX
Secondary Lighting: https://amzn.to/3npEsi0
Headphones: https://amzn.to/3A0GjP7
USB Drive: https://amzn.to/3Gvm9PD