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

Fail to start cmd.exe if clink is installed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.7.1
    • Qt Creator 4.7.0
    • Windows 10
      Msvc 2013 and 2017 installed
      Qt 5.7.1
    • Windows
    • 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

        1. error-dialog.png
          13 kB
          Joachim Schmitz
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            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