Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
Qt Creator 8.0.1
-
None
Description
Description
Recently MSVC is updating Qtcreator's commit. But we have a problem.
1. First, before the commit was updated, the commit we used was cf0fa99 and the dependency version was set to Qt5.2. The build of Qtcreator was successful.
2. Currently, we have encountered the following problems after updating the commit to ef11da3 and updating the Qt version to 6.2.4.
Can someone help take a look? Thanks in advance.
Repro steps:
- git clone https://github.com/qt-creator/qt-creator.git F:\gitP\qt-creator
- cd F:\gitP\qt-creator & mkdir build_amd64
- cd F:\gitP\qt-creator\qt-creator\build_amd64
- cmake -DCMAKE_BUILD_TYPE=Release -G Ninja "-DCMAKE_PREFIX_PATH=F:\Qt\6.2.4\msvc2019_64\lib\cmake\Qt6;F:\tools\libclang-release_130-based-windows-vs2019_64\libclang" ..
Error info:
-- The C compiler identification is MSVC 19.34.31903.97 -- The CXX compiler identification is MSVC 19.34.31903.97 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/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 (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check if linker can resolve circular dependencies - TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success CMake Warning at F:/Qt/6.2.4/msvc2019_64/lib/cmake/Qt6/Qt6Config.cmake:209 (find_package): Found package configuration file: F:/Qt/6.2.4/msvc2019_64/lib/cmake/Qt6Concurrent/Qt6ConcurrentConfig.cmake but it set Qt6Concurrent_FOUND to FALSE so package "Qt6Concurrent" is considered to be NOT FOUND. Reason given by package: The following imported targets are referenced, but are missing: Qt6::Core Qt6::CorePrivateCall Stack (most recent call first): cmake/FindQt5.cmake:57 (find_package) CMakeLists.txt:68 (find_package) -- Could NOT find Qt6CoreTools (missing: Qt6CoreTools_DIR) -- Found WrapVulkanHeaders: C:/VulkanSDK/1.2.154.1/Include -- Could NOT find Qt6GuiTools (missing: Qt6GuiTools_DIR) CMake Warning at F:/Qt/6.2.4/msvc2019_64/lib/cmake/Qt6/Qt6Config.cmake:209 (find_package): Found package configuration file: F:/Qt/6.2.4/msvc2019_64/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be NOT FOUND. Reason given by package: Target "Qt6::Gui" was not found.Call Stack (most recent call first): cmake/FindQt5.cmake:57 (find_package) CMakeLists.txt:68 (find_package) CMake Warning at F:/Qt/6.2.4/msvc2019_64/lib/cmake/Qt6/Qt6Config.cmake:209 (find_package): Found package configuration file: F:/Qt/6.2.4/msvc2019_64/lib/cmake/Qt6Network/Qt6NetworkConfig.cmake but it set Qt6Network_FOUND to FALSE so package "Qt6Network" is considered to be NOT FOUND. Reason given by package: The following imported targets are referenced, but are missing: Qt6::Core Qt6::CorePrivateCall Stack (most recent call first): cmake/FindQt5.cmake:57 (find_package) CMakeLists.txt:68 (find_package)
Attachments
For Gerrit Dashboard: QTCREATORBUG-28178 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
432941,4 | README: Add notes regarding correct Qt CMAKE_PREFIX_PATH | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |