Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-23330

Setting null value in var property of base class crashes

    XMLWordPrintable

Details

    • 1f4fe0aca4fc70ece7235623aaf88225531f1243

    Description

      Setting a var property in a base class causes a crash in some circumstances.

      // BaseItem.qml
      import QtQuick 2.0
      Item {
          property var random: null
      }
      
      // test.qml
      import QtQuick 2.0
      BaseItem {
          property int someint: 5
      }
      

      asserts, despite being valid.

      Attachments

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

        Activity

          People

            chriadam Christopher Adams (closed Nokia identity) (Inactive)
            chriadam Christopher Adams (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes