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

Cannot parse CMake project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 8.0.1
    • None

    Description

      Hi,
      I just installed Qt 6.4 and Qt Creator 8.0.1. Unfortunately, Qt creator fails to parse my projects when opening them. I even attempted to open Qt example projects in vain. It was working fine with the previous Qt Creator version though. My MVSC environment is properly set up and I also installed Qt Cmake but I see the following errors in the console:

      :-1: error: Failed to retrieve MSVC Environment from "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat x86":
      The command "C:\Windows\system32\cmd.exe /E:ON /V:ON /c C:\Users\dzimi\AppData\Local\Temp\QtCreator-MdSJOr\BGhyTs.bat" could not be started.
      :-1: error: Failed to retrieve MSVC Environment from "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat x86":
      The command "C:\Windows\system32\cmd.exe /E:ON /V:ON /c C:\Users\dzimi\AppData\Local\Temp\QtCreator-MdSJOr\pzeaIQ.bat" could not be started.
      :-1: error: Failed to retrieve MSVC Environment from "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat amd64_x86":
      The command "C:\Windows\system32\cmd.exe /E:ON /V:ON /c C:\Users\dzimi\AppData\Local\Temp\QtCreator-MdSJOr\kIDhew.bat" could not be started.
      :-1: error: Failed to retrieve MSVC Environment from "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat amd64_x86":
      The command "C:\Windows\system32\cmd.exe /E:ON /V:ON /c C:\Users\dzimi\AppData\Local\Temp\QtCreator-MdSJOr\UpREKE.bat" could not be started.
      :-1: error: Failed to retrieve MSVC Environment from "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat amd64":
      The command "C:\Windows\system32\cmd.exe /E:ON /V:ON /c C:\Users\dzimi\AppData\Local\Temp\QtCreator-MdSJOr\VsFuFg.bat" could not be started.
      :-1: error: Failed to retrieve MSVC Environment from "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat amd64":
      The command "C:\Windows\system32\cmd.exe /E:ON /V:ON /c C:\Users\dzimi\AppData\Local\Temp\QtCreator-MdSJOr\ROAECq.bat" could not be started.
      :-1: error: Failed to retrieve MSVC Environment from "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat x86_amd64":
      The command "C:\Windows\system32\cmd.exe /E:ON /V:ON /c C:\Users\dzimi\AppData\Local\Temp\QtCreator-MdSJOr\dFfeNg.bat" could not be started.
      :-1: error: Failed to retrieve MSVC Environment from "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat x86_amd64":
      The command "C:\Windows\system32\cmd.exe /E:ON /V:ON /c C:\Users\dzimi\AppData\Local\Temp\QtCreator-MdSJOr\UCCBeV.bat" could not be started.
      :-1: error: Failed to retrieve MSVC Environment from "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat amd64":
      The command "C:\Windows\system32\cmd.exe /E:ON /V:ON /c C:\Users\dzimi\AppData\Local\Temp\QtCreator-MdSJOr\sPtkEf.bat" could not be started.
      :-1: error: The kit needs to define a CMake tool to parse this project.

      Attachments

        1. Capture.PNG
          Capture.PNG
          88 kB
        2. Capture2.PNG
          Capture2.PNG
          36 kB
        3. Capture3.PNG
          Capture3.PNG
          77 kB
        4. Capture4.PNG
          Capture4.PNG
          38 kB
        5. Capture5.PNG
          Capture5.PNG
          32 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cadam Cristian Adam
            celandre dzimiwine celandre
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes