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

Qmllint issue when using Controls.SpinBox.textFromValue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • 6.11
    • 6.11
    • QML: Tooling
    • None

      It's declared as the following in the code:

      Q_PROPERTY(QJSValue textFromValue READ textFromValue WRITE setTextFromValue NOTIFY textFromValueChanged FINAL)

      And creates the following warning:

      Property "textFromValue" is a QJSValue property. It may or may not be a method. Use a regular Q_INVOKABLE instead. [use-proper-function]

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

            qtqmlteam Qt Qml Team User
            carl Carl Schwan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes