The module Module_vtkGUISupportQt and Module_vtkViewsQt are opened, and Qt5 is used. Qt5_DIR-NOTFOUND error CMake Configure Qt5_DIR-NOTFOUND error The solution is as follows.
1. QT5 installation path
Take my computer’s QT5 installation path as an example. On my computer, Qt is installed in: E: Toolkits\Qt\Qt5.5.1.
2. VTK source file path
I am using the official release of VTK 7.0.0.rc2. Unzip the VTK source code to: E:\Toolkits\ vtk-7.0.0.rc2 \source on my computer
QT5_DIR – NotFound = QT5_DIR – NotFound = QT5_DIR – NotFound
Open the file E:\Toolkits\ vtk-7.0.0.rc2 \source\ cmMakelists.txt in line 1 of the file as follows:
cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
Add a line of script that reads:
cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
set (CMAKE_PREFIX_PATH "E:/Toolkits/Qt/Qt5.5.1/qtbase")
Configure Generate. Configure Generate.
Read More:
- Cmake error on qt5core
- [VTK] cmake compiling VTK
- Vtk8.2.0 (32bit + 64bit) compilation and installation test (win10 + vs2017 + Qt5)
- QGIS uses qt4.6.3 to upgrade to the version compiled by qt4.8.3
- Two methods of cmake in VTK program
- Vtk7. X is compiled and installed under vs2013 and vs2015
- Problems in compiling VTK with cmake: solutions to error configuration process, project files may be invalid
- [VTK] vtk8.2.0 + vs2015 + win10 compilation and configuration
- VTK installation
- Vs2012 compiling PCL dependency library vtk7.0
- The remote server returned an error: notfound when Silverlight calls WCF service
- Common mistakes and solutions of cmake + QT + VTK
- Undefined reference to ‘CV:: imread (CV:: String const & int)’
- Vs2017 compiles pcl1.8.1 with vtk8.0 and uses qt5.9.5
- javax.persistence.EntityNotFoundException : unable to find error
- Under win864 bit, install python, PyQt4 and sip. (final failure, only record)
- To solve the problem in Windows opencv installation: error configuration process, project files may be invalid
- Mac clion configuring opencv environment
- Howto Install and Configure VTK on Ubuntu
- Visual studio 2013 compiles vtk7.1.0