Error building Qt creator 9.0.1
-
Trying to build QT creator from source by following this BKM:
https://github.com/qt-creator/qt-creator/blob/master/README.mdand i get error.
Here is the command i use:
cmake.exe -DCMAKE_BUILD_TYPE=Release "-DCMAKE_PREFIX_PATH=D:/Tools/Qt/Qt6.4.2_static_msvc2022;D:/Workspace/user/libclang-release_140-based-windows-vs2019_64/libclang/bin" D:/Workspace/user/qt-creator-enterprise-src-9.0.1/qt-creator-enterprise-src-9.0.1and for some reason it try to find QT5:
-- Building for: Visual Studio 17 2022 -- The C compiler identification is MSVC 19.34.31937.0 -- The CXX compiler identification is MSVC 19.34.31937.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.34.31933/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.34.31933/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at cmake/FindQt5.cmake:32 (find_package): Could not find a package configuration file provided by "Qt5" (requested version 6.2.0) with any of the following names: Qt5Config.cmake qt5-config.cmake Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR" to a directory containing one of the above files. If "Qt5" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:68 (find_package) -- Configuring incomplete, errors occurred!any idea what went wrong?
-
Hi,
Since you mention 9.0.1 you should switch to the 9.0 branch or even tag.