Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28457

Cmake configuration fails for MSVC Desktop with QTC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • Qt Creator 9.0.0
    • Qt Creator 9.0.0-rc1
    • MCU Support
    • None

    Description

      Qt for MCUs Version : 2.3.0
      Host : Windows
      SHA1 : f413732f9dfc89fd950cb930e97bc0c2681c4d14

      Steps Followed :

      1. Open QTC - 9.0.0-rc1
      2. Run any demo/example for desktop MSVC

      It fails with the error log pasted below.

      Running C:\Qt_new_2.3.0\Tools\CMake_64\bin\cmake.exe -S C:/Qt_new_2.3.0/QtMCUs/2.3.0/examples/chess -B C:/Qt_new_2.3.0/QtMCUs/2.3.0/examples/build-chess-Qt_for_MCUs_2_3_Desktop_32bpp_MSVC-Debug "-DCMAKE_GENERATOR:STRING=Ninja" "-DCMAKE_BUILD_TYPE:STRING=Debug" "-DCMAKE_CXX_COMPILER:STRING=" "-DCMAKE_C_COMPILER:STRING=" "-DQUL_COLOR_DEPTH:STRING=32" "-DQUL_COMPILER_NAME:STRING=msvc" "-DQUL_GENERATORS:STRING=C:/Qt_new_2.3.0/QtMCUs/2.3.0/lib/cmake/Qul/QulGenerators.cmake" "-DQUL_PLATFORM:STRING=qt" "-DQul_ROOT:STRING=C:\Qt_new_2.3.0\QtMCUs\2.3.0" in C:\Qt_new_2.3.0\QtMCUs\2.3.0\examples\build-chess-Qt_for_MCUs_2_3_Desktop_32bpp_MSVC-Debug.
      -- The C compiler identification is unknown
      -- The CXX compiler identification is unknown
      -- The ASM compiler identification is MSVC
      -- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
      CMake Error at CMakeLists.txt:3 (project):
        No CMAKE_C_COMPILER could be found.
      
        Tell CMake where to find the compiler by setting either the environment
        variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
        the compiler, or to the compiler name if it is in the PATH.
      
      
      CMake Error at CMakeLists.txt:3 (project):
        No CMAKE_CXX_COMPILER could be found.
      
        Tell CMake where to find the compiler by setting either the environment
        variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
        to the compiler, or to the compiler name if it is in the PATH.
      
      
      -- Configuring incomplete, errors occurred!
      See also "C:/Qt_new_2.3.0/QtMCUs/2.3.0/examples/build-chess-Qt_for_MCUs_2_3_Desktop_32bpp_MSVC-Debug/CMakeFiles/CMakeOutput.log".
      See also "C:/Qt_new_2.3.0/QtMCUs/2.3.0/examples/build-chess-Qt_for_MCUs_2_3_Desktop_32bpp_MSVC-Debug/CMakeFiles/CMakeError.log".
      CMake process exited with exit code 1.
      
      Elapsed time: 00:01.
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kwkim Kwangsub Kim
            meenal Meenal Moundekar
            Yoann Lopes Yoann Lopes
            Ilkka Kellokoski Ilkka Kellokoski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes