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

Make it possible to refer to custom Rule properties in prepare script

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 1.10.0, 1.11.0
    • None
    • Any

    Description

      To make it easier to re-use custom Rule items, please make it possible to create custom properties inside them.

       

      myrule.qbs:
      
      import qbs
      Rule {
      
          property var myProperty: "test"
      }
      
      
      Re-use of that rule:
      myproject.qbs:
      
      import "myrule.qbs" as MyRule
      ...
      MyRule { myProperty: "1" }
      MyRule { myProperty: "2" }
      MyRule { myProperty: "3" }
      MyRule { myProperty: "etc" }
      
      

       

       

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            pyrrhula Ola Røer Thorsen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes