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

Dependencies in Export statements have no effect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 1.3.3, 1.4.0
    • Fix Version/s: 1.4.2
    • Component/s: General
    • Labels:
      None

      Description

      Consider this project:

      import qbs
      
      Project {
          Product {
              name: "dependency"
              Export { Depends { name: "cpp" } }
          }
          Application {
              name: "app"
              files: ["main.cpp"] 
              Depends { name: "dependency" }
          }
      }
      

      Building it does not do anything, because in contrast to what one would expect, the "app" product does not get a dependency on the cpp module.

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes