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

QbsPM: Project tree does not track (ignores) the profile/kit switching

    XMLWordPrintable

Details

    • Windows
    • 3b740fccc8a3ba28f40687613fb993ca5ee500f5 (qt-creator/qt-creator/4.12)

    Description

      How to reproduce:

      1) Create the QBS project which contains two products:

      import qbs
      
      Project {
      
          CppApplication {
              condition: qbs.targetOS.contains("windows")
              name: "windows-product"
          }
      
          CppApplication {
              condition: qbs.targetOS.contains("")
              name: "baremetal-product"
          }
      
      }
      

      2) Create and configure two Kits:

      • MSVC2017 Qt 5.14.1
      • GCC bare-metal

      3) Open the QBS project and shoose check-boxes for two Kits, click to configure.

      4) Some times (e.g. two time) switch the profiles (from the left QtC panel): "Projects -> Build & Run -> MSVS or GCC"

      5) Right now you can see a bug: selected the active MSVC Kit, but the "windows" project is disabled!

      Nor force-probes, not project re-parsing does not help. Helped only re-opening a project again.

      Note: With QtC 4.11.1 all does work.

      Attachments

        1. qtcbug-23767.png
          43 kB
          Denis Shienkov
        2. qtcbug-23767.zip
          0.4 kB
          Denis Shienkov
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes