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

Compilation with msvc failed.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.2.1
    • Qt Creator 4.2.0, Qt Creator 4.2.1
    • Windows XP 32bit, MSVC 9.0/10.0

    Description

      After upgrade QtCreator from version 4.1.0 to 4.2.0, an error occurs on project compilation:
      'cl' is not recognized as an internal or external command

      Perhaps for this reason, in Tools>Options>Build & Run>Kits there is a warning that the compiler for CMake is not configured (screenshot attached).

      If i disable jom usage, an error occurs:
      Could not start process "nmake.exe" clean
      Error while building/deploying project DebugTest (kit: Desktop)
      The kit Desktop has configuration issues which might be the root cause for this problem.

      There is a suspicion that QtCreator ignores the compiler's environment variable settings initialization on Tools>Options>Build & Run>Compilers (vcvarsall.bat on screenshot).

      Attachments

        1. compilers.png
          compilers.png
          35 kB
        2. kits.png
          kits.png
          40 kB
        3. about.png
          about.png
          43 kB
        4. msvc2010.png
          msvc2010.png
          75 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hunger Tobias Hunger
            isa Evgeniy Isaev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes