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

Qmake project is not recognize properly after switching toolchain

XMLWordPrintable

    • d03fb350672d311dccc06f0bcb4da744a3c99745

      Steps to reproduce:

      1. Open Qt Creator
      2. Create new Qt qmake project
      3. Configure it for 2 toolchains
      4. Build & run using toolchain 1 -> OK
      5. Build& rune using toolchain 2 -> OK
      6. Switch back to toolchain 1 -> Error

      Here is the error message I have:

      Project ERROR: msvc-version.conf loaded but QMAKE_MSC_VER isn't set
      Error while parsing file C:\Users\benjamin\WorkingCopy\my-project\my-project.pro. Giving up

      .After this the run configurations for toolchain 1 is empty.

       

      In my case toolchain 1 is Qt 5.10.1 MSVC 2017 64 bits and toolchain 2 is Qt 5.10.1 MinGW 32 bit.

       

        1. DebugToRelease.txt
          49 kB
          Joni Poikelin
        2. AddExistingFile.txt
          3 kB
          Joni Poikelin
        For Gerrit Dashboard: QTCREATORBUG-20113
        # Subject Branch Project Status CR V

            buddenha Oswald Buddenhagen
            bterrier Benjamin Terrier
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes