cmake for QtCreator fails
Unsolved
General and Desktop
-
Following the tutorial at https://github.com/qt-creator/qt-creator/blob/master/README.md#compiling-qt-creator
I got until the point where it tells you to run the command:cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja "-DCMAKE_PREFIX_PATH=/path/to/Qt;/path/to/llvm" /path/to/qtcreator_sources
cmake stops with the following error code:
-- Could NOT find Qt6Core5Compat (missing: Qt6Core5Compat_DIR) CMake Error at CMakeLists.txt:71 (find_package): Found package configuration file: /usr/local/Qt-6.9.0/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 "/usr/local/Qt-6.9.0/lib/cmake/Qt6Core5Compat/Qt6Core5CompatConfig.cmake" does NOT exist