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

Compiler definitions not reloaded when switching only the Kit

    XMLWordPrintable

Details

    • Linux/X11
    • 743ef263c9479ef06a56de154611a01c6aee9973

    Description

      When you switch only the Kit in the bottom-right menu, the compiler configuration isn't changed.

      Steps to reproduce:

      1. Have your project have build configuration in two or more kits
      2. Confirm that your source code properly detects the compiler/kit (inspecting the code model suffices)
      3. Switch kits but don't click any other Build config

      Expected behaviour:

      The build config is applied

      Actual behaviour:

      The previous build (in the non-selected Kit) is still active.

      Workaround:

      Select another build in the new Kit, then select the build you want.

      Attachments

        1. qtc-codemodelinspection_210415_113751.txt.xz
          425 kB
          Thiago Macieira
        2. Screenshot_20210415_113648.png
          179 kB
          Thiago Macieira
        3. testproj.tar.xz
          40 kB
          Thiago Macieira

        Issue Links

          Activity

            People

              kandeler Christian Kandeler
              thiago Thiago Macieira
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: