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

AbstractMsvcToolChain::compilerCommand() returns wrong value for MSVC 2017

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • Qt Creator 4.3.0
    • None

    Description

      For a kit that has MSVC 2017 compilers set, the function AbstractMsvcToolChain::compilerCommand() returns either

      • an empty string if no cl.exe is in PATH
      • the first cl.exe that is in the system environment's PATH

      This leads to the creation of wrong qbs profiles for MSVC 2017 kits.

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              jbornema Joerg Bornemann
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes