QML Lint Warning and Errors | Qt Qml 6.7.3

- Qt 6.7
- Qt Qml
- QML Lint Warning and Errors
- Qt 6.7.3 Reference Documentation

# 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.
Component is missing a required property | A component's required property was not bound.
Deprecated | A deprecated property or type was used.
Duplicate bindings | A property was bound multiple times.
Duplicate id | An id is not unique.
Duplicated name | Multiple signals or properties share the same name in the same Component.
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 qmllint directives | Invalid qmllint comments.
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.
Quick: Attached property type | Misuses of the Quick attached property types.
Readonly property | A readonly property was written.
Recursion depths errors | Qml statement or expression is too deeply nested.
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.
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.
Warnings occurred while importing | The imported module was not found.
With | With statements are strongly discouraged in QML.
access-singleton-via-object | BRIEF
prefixed-import-type | BRIEF