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

QML engine doesn't respect default READ/WRITE Q_PROPERTY

    XMLWordPrintable

Details

    • 00e95e3506 (qt/qtdeclarative/dev) 00e95e3506 (qt/tqtc-qtdeclarative/dev) 3cfe24ebb1 (qt/qtdeclarative/6.4) 3cfe24ebb1 (qt/tqtc-qtdeclarative/6.4) 4815700b78 (qt/qtdeclarative/6.3) 4815700b78 (qt/tqtc-qtdeclarative/6.3) 4815700b78 (qt/qtdeclarative/6.3.2)

    Description

      Since we can now generate accessors for bindable properties, the QML engine should actually use them. However, if you do something like this, the property stays inaccessible for interpreter and JIT (the AOT compiler generates code that can access the property, though):

      Q_PROPERTY(QByteArray data READ default WRITE default BINDABLE dataBindable FINAL)
      

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: