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

qmltc: Add ability to mark Q_PROPERTY() as FINAL

XMLWordPrintable

      Code

      // Test.qml
      import QtQuick
      
      Item {
          property int value: 42
      }
      

       

      qmltc output

      // test.h (Generated by qmltc)
      class Test : public QQuickItem
      {
          Q_OBJECT
          QML_ELEMENT
          Q_PROPERTY(int value WRITE setValue READ value BINDABLE bindableValue)
          // ...
      };
      

       

      Suggestion
      We want qmltc to generate this by default:

      Q_PROPERTY(int value WRITE setValue READ value BINDABLE bindableValue FINAL)
      

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

            qtqmlteam Qt Qml Team User
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes