Cmake3.0 + QT4.8.6 + VTK5.10
PS.VTK6.10 or above can only be used with QT5.0 or above versions
2. Compile and install
Reference: http://blog.csdn.net/www_doling_net/article/details/8532742
3. Common mistakes
1, Could not find a package configuration file provided by “Qt5Widgets” with
any of the following names:
Qt5WidgetsConfig. Cmake
Qt5Widgets – config. Cmake
Add the installation prefix of “Qt5Widgets” to CMAKE_PREFIX_PATH or set
“Qt5Widgets_DIR” to a directory containing one of the above files. If
“Qt5widgets” provides a separate development package or SDK, be sure it has
been installed.
This error is generally caused by the incorrect selection of the version number of Qt. Carefully check whether the version number of Qt is 4 or 5. We can solve it.
2
Failing to find Glu32 is usually due to the wrong path. Be careful to check the installation path.
3. There are a lot of things you can’t select from the CMake process, such as the build file. You have to install something in order to be able to cmake, so try to follow the tutorial as much as possible.
What problems can leave a message below, a lot of problems, have not been able to recall in time.
Read More:
- Qt5 when cmake configures VTK_ The solution of dir-notfound
- Problems in compiling VTK with cmake: solutions to error configuration process, project files may be invalid
- Common errors and solutions of Qt development application under Ubuntu
- One of the common mistakes of tex
- Some mistakes and solutions in Django
- Solutions to several VTK compilation errors (vtk5.8 + VS2010)
- [VTK] cmake compiling VTK
- Cmake error on qt5core
- Common mistakes in WCF distributed development (15): Communication with the underlying transaction manager has failed.
- Vs2017 compiles pcl1.8.1 with vtk8.0 and uses qt5.9.5
- Two methods of cmake in VTK program
- Summary of problems encountered in compiling and installing vtk7 + vs2013 / 2015 + cmake
- Qt5 when compiling VTK_ The solution of dir-notfound
- Configuration, compilation and installation of vtk8.1 in qt5.9
- VTK + QT + vs compilation and installation configuration
- Recording some pits of VTK + QT
- Vtk8.0 compilation process record under vs2017 and qt5.12.1
- The collapse pits of VTK projects that are not generated by cmake
- Vtk8.2.0 (32bit + 64bit) compilation and installation test (win10 + vs2017 + Qt5)
- To solve problems in cmake VTK: error configuration process, project files may be invalid