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

Some properties get their default value assigned too late

    XMLWordPrintable

Details

    • daabd183bfc32301bec50a40275152bba66d71da bfae7b1363558de6f60538204f7e326293922ab8

    Description

      Example:

      Product {
          Group {
              id: blubb
              files: // ...
          }
          property bool blubbEnabled: blubb.condition
      }
      

      The "blubbEnabled" property gets the value "undefined", even though the group is enabled. If you add an explicit condition to the group, it works as expected.
      This problem probably exists also for other items that have built-in properties with default values.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: