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:
- Qt5 when cmake configures VTK_ The solution of dir-notfound
- [VTK] cmake compiling VTK
- Vs2012 compiling PCL dependency library vtk7.0
- Vs2017 compiles pcl1.8.1 with vtk8.0 and uses qt5.9.5
- Common mistakes and solutions of cmake + QT + VTK
- Problems in compiling VTK with cmake: solutions to error configuration process, project files may be invalid
- Vtk8.0 compilation process record under vs2017 and qt5.12.1
- VTK + QT + vs compilation and installation configuration
- Configuration, compilation and installation of vtk8.1 in qt5.9
- Summary of problems encountered in compiling and installing vtk7 + vs2013 / 2015 + cmake
- Recording some pits of VTK + QT
- Vtk8.2.0 (32bit + 64bit) compilation and installation test (win10 + vs2017 + Qt5)
- MySQL driver compiling method of QT under windows and solutions to abnormal errors
- CMake_ Compiling VTK_ 9.0.0 running vtkcommoncolor DLL has access conflict
- On the problem that VTK + QT process can’t end after closing the program
- Record the problems encountered when VTK is used with QT
- Compiling QT project under vs encountered “error 89error msb6006:“ cmd.exe ”Exited with code 3
- QT encountered in CentOS installation( qt.qpa.plugin : Could not load the Qt platform plugin “xcb” )
- The remote server returned an error: notfound when Silverlight calls WCF service
- Invalidstorage.notfound when uploading video in alicloud VOD