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

Q_PROPERTY FINAL feature cannot be safely used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.0.0
    • Core: Object Model
    • None

    Description

      Qt 4.8 documents a new FINAL flag for Q_PROPERTIES. It says these properties must not be reimplemented by subclasses. Unfortunately it also says that there's no checking that this constraint is held, and that the user must do so. Sadly, the user can't do this since the documentation doesn't show which properties are FINAL. The value of this API is questionable anyway, so perhaps it should be removed in qt5?

      Attachments

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

        Activity

          People

            aakenned Aaron Kennedy
            richmoore Richard Moore (qtnetwork)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes