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

Fail to start cmd.exe if clink is installed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.7.0
    • Fix Version/s: Qt Creator 4.7.1
    • Labels:
    • Environment:
      Windows 10
      Msvc 2013 and 2017 installed
      Qt 5.7.1
    • Platform/s:
      Windows
    • Commits:
      36d21d576013a25492a7454efba1c9e33724b242

      Description

      When opening a project, I always have this error :

      :-1: error: Failed to retrieve MSVC Environment from "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvarsall.bat amd64_x86":
      The command "C:\WINDOWS\system32\cmd.exe" could not be started.

       I have clink installed, a small tool to make windows command line for GNU like. If I disable it, the error disappear. (default command line behaviour is supposed to be the same, it just adds features)

       The issue was not present in QtCreator 4.6.2.

        Attachments

        For Gerrit Dashboard: QTCREATORBUG-20886
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            mwoua David Levy
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes