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

Add warnings for ambigous ids to qmllint

XMLWordPrintable

    • Icon: User Story User Story
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.9
    • None
    • QML: Tooling
    • None

      Some ids easily conflict with properties and become ambigous, because the root item likely has properties with this name.

      These are the ids we do not allow in the visible tooling, because they can lead to subtle issues.

      "top", "bottom", "left", "right", "width", "height",
      "x", "y", "opacity", "parent", "item", "flow",
      "color", "margin", "padding", "print", "border", "font",
      "text", "source", "state", "visible", "focus", "data",
      "clip", "layer", "scale", "enabled", "anchors",
      "texture", "shaderInfo", "sprite", "spriteSequence", "baseState"
      "vector", "string", "url", "var", "point", "date", "size", "list",
      "enumeration"

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

            fabiankosmale Fabian Kosmale
            thohartm Thomas Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes