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

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

      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" }
      
      

       

       

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

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

              Created:
              Updated:

                There are no open Gerrit changes