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

Submodule properties should be accessible with "module.submodule" syntax

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 0.2
    • 0.2
    • None

    Description

      Currently, in order to access a property in a submodule it is necessary to name the Depends block with an id, and use that to refer to the submodule:

      Depends { id:qtcore; name: "qt.core"}
      property var v: qtcore.version
      

      It would be nice if it were possible to refer to it as "qt.core" without needing the id. Ie:

      Depends { name: "qt.core"}
      property var v: qt.core.version
      

      Discussed on the list here: http://lists.qt-project.org/pipermail/qbs/2012-March/000090.html

      Attachments

        For Gerrit Dashboard: QBS-97
        # Subject Branch Project Status CR V

        Activity

          People

            jbornema Joerg Bornemann
            tomsci Tom Sutcliffe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes