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

QMetaProperty: QMetaProperty::isRequired() does't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.0
    • Core: Other
    • None
    • All

    Description

      If you create a required property directly from QML (as opposed to using a Q_PROPERTY from c++), QMetaProperty::isRequired() will still return false for that property.

      Both QQuickTableView and QQuickTreeView currently has work-arounds to make sure that they don't write to properties that are not marked as required.

      Attachments

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            richard Richard Moe Gustavsen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes