Id quotation¶
[syntax.id-quotation] Id has quotation marks.
This warning category is spelled [syntax.id-quotation] by qmllint.
Ids do not need quotation marks¶
What happened?¶
You surrounded an id with quotation marks.
Why is this bad?¶
This might lead to confusion between ids and strings. The QML language does not require quotation marks for ids and forbids more complex string expressions for ids.
Example¶
To fix this warning, remove the quotation marks: