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

qmllint: warn when shadowing signals and handlers

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • Some future release
    • 6.5
    • QML: Tooling
    • None

      See attached project: qmllint does not warn about shadowing signal, signal handlers, property changed signals and property changed handlers with properties, methods or signals.

      Shadowing those special names is bad because it makes writing tooling (especially: qmlls) more complicated, it has weird behaviors in the engine and some of this shadowing is also not supported by the engine.

      Uncomment each line separately to see the engine's error. You can also uncomment them all (but the engine aborts after the first error) to see that qmllint does not complain at all.

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

            qtqmlteam Qt Qml Team User
            sami.shalayel Sami Shalayel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes