QML Lint Warning and Errors
Here is an overview over all QML Lint warning and error messages.
[alias-cycle] Alias property is part of an alias cycle. | |
[attached-property-reuse] Attached type was initialized multiple times. | |
[access-singleton-via-object] A singleton was incorrectly accessed. | |
[comma] Do not use comma expressions. | |
[required] A component's required property was not bound. | |
[confusing-minuses] Confusing minuses. | |
[confusing-pluses] Confusing pluses. | |
[deprecated] A deprecated property or type was used. | |
[void] A void expression was used. | |
[duplicate-import] Duplicate import. | |
[duplicate-property-binding] A property was bound multiple times. | |
[duplicate-enum-entries] Enum key X has already been declared. | |
[syntax.duplicate-ids] An id is not unique. | |
[duplicate-inline-components] Duplicate inline component. | |
[duplicated-name] Multiple signals or properties share the same name in the same Component. | |
[non-root-enum] An enum was declared outside the root element. | |
[enum-entry-matches-enum] Enum entry should be named differently than the enum itself. | |
[syntax.id-quotation] Id has quotation marks. | |
[incompatible-type] An object, value, or expression is used on an incompatible type. | |
[inheritance-cycle] A component inherits from itself. | |
[invalid-lint-directive] Invalid qmllint comments. | |
[literal-constructor] Do not use function as a constructor. | |
[missing-enum-entry] Enum value is missing from its declaration. | |
[missing-property] Binding a value to a non-existing property. | |
[missing-type] A type used in a binding or alias was not found. | |
[multiline-strings] A string is spanning over multiple lines. | |
[non-list-property] Multiple values were assigned to a non-list property. | |
Misuses of the Quick attached property types. | |
[read-only-property] A readonly property was written. | |
[recursion-depth-errors] Qml statement or expression is too deeply nested. | |
[redundant-optional-chaining] Some optional chaining lookups could be non-optional | |
[restricted-type] A restricted type was accessed. | |
[signal-handler-parameters] The signal handler does not satisfy the signal types. | |
[syntax] Various syntactic errors. | |
[top-level-component] Root QML type is a component | |
[uncreatable-type] Types that can't be created. | |
[unqualified] Accessing an outer scope without its id. | |
[unresolved-alias] Property of property alias was not found. | |
[unresolved-type] A used type was not found. | |
[unterminated-case] A non-empty case block was not terminated. | |
[unused-imports] Types of the imported module were not used. | |
[use-proper-function] Calling something that might not be a function. | |
[var-used-before-declaration] A JavaScript variable was used before its declaration. | |
[import] The imported module was not found. | |
[with] With statements are strongly discouraged in QML. |