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

Group installation based on fileTagsFilter does not always work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • 1.4.0
    • 1.2.0
    • General
    • None
    • bc008c2d5c4170a15d1c57dc41f7887cdbe516b4

      Installing images using a Group with qbs.install works:

      // Data
      Group {
          files: "images/*"
          qbs.install: true
          qbs.installDir: "data"
      }
      

      Now, if I use a fileTagsFilter based on the fileTags of another group instead of files, the images are not installed:

      // Images
      Group {
          files: "images/*"
          fileTags: "img"
      }
      
      // Data
      Group {
          fileTagsFilter: "img"
          //fileTagsFilter: ["img", "audio", "txt"]
          qbs.install: true
          qbs.installDir: "data"
      }
      

      Using the "application" fileTags works, though:

      // Bin
      Group {
          fileTagsFilter: "application"
          qbs.install: true
          qbs.installDir: "bin"
      }
      

      Looks like a bug, but might be a beginner error, too

      Note: using GIT HEAD 6f6606b798b2e9c3911b2a0794835089ab100cb8

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jbornema Joerg Bornemann
            bwalter Benoit Walter
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes