paraview build fail because of Qt version
-
I'm trying to build the Paraview from source code using CMake. I did installed QT version 6.6.0 but while building the Paraview I got this error:
CMake Warning at VTK/CMake/vtkModule.cmake:4810 (find_package):
Found package configuration file:C:/Qt/6.6.0/mingw_64/lib/cmake/Qt6/Qt6Config.cmake
but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
FOUND. Reason given by package:Failed to find required Qt component "Core5Compat".
Expected Config file at
"C:/Qt/6.6.0/mingw_64/lib/cmake/Qt6Core5Compat/Qt6Core5CompatConfig.cmake"
does NOT existConfiguring with --debug-find-pkg=Qt6Core5Compat might reveal details why
the package was not found.Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
of the path variables that find_package uses to try and find the package.Call Stack (most recent call first):
Qt/Widgets/CMakeLists.txt:94 (vtk_module_find_package)CMake Error at VTK/CMake/vtkModule.cmake:4816 (message):
Could not find the Qt6 external dependency.
Call Stack (most recent call first):
Qt/Widgets/CMakeLists.txt:94 (vtk_module_find_package).How to handle that error? i did some research and found that ParaView sadly does not officially support Qt6 for now, i didn't find the Qt version 5, what should i do
I want to build the paraview code source in order to host it in a dockable window with c#.
thanks in advance for your help
-
@mayssaEMW said in paraview build fail because of Qt version:
Qt6Core5Compat
The module Qt6Core5Compat is not installed.
https://doc.qt.io/qt-6/qtcore5-index.html -
@JoeCFD thank you for response.
I did reinstall it and add the Qt6Core5Compat module but i faced an other error during the new installation:
Error during installation process (pyside.pyside6.660.wheels):
Missing argument(s) "path" calling Settings with arguments "path=; method=add_array_value; key=Python/PySideWheelsRequirements; value=C:\Qt\QtForPython\6.6.0\requirements.txt". -
J JonB referenced this topic on
-
@mayssaEMW said in paraview build fail because of Qt version:
C:\Qt\QtForPython\6.6.0
What exactly are you installing actually?
What did you select in the installer?
C:\Qt\QtForPython\6.6.0 - this is not for C++ development. -
J JonB referenced this topic on