Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-690

Profile multiplexing seems to be broken with regards to module property evaluation

    XMLWordPrintable

Details

    • e0f246edf7a1e89f9ad30b1e5f6e340d21fc0435

    Description

      Consider this project that builds a product for two different profiles:

      import qbs
      
      Project {
          property string profile1
          property string profile2
      
          CppApplication {
              name: "app"
              files: "main.cpp"
              profiles: [project.profile1, project.profile2]
              Group {
                  fileTagsFilter: product.type
                  qbs.install: true
                  qbs.installDir: profile
              }
          }
      }
      

      Now try to install:

      $ qbs install project.profile1:<name> project.profile2:<other name>
      

      Afterwards, the installation directory will contain only the subdirectory for one of the profiles. Debugging shows that qbs.installDir is only evaluated once, even though the product item was correctly multiplexed.

      Attachments

        1. profiles-bug.tar.gz
          0.4 kB
          Christian Kandeler
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jbornema Joerg Bornemann
            kandeler Christian Kandeler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes