QTBUG-16062 Add list of reserved words not to be used as QML ids
Unsolved
Wiki Discussion
-
https://bugreports.qt.io/browse/QTBUG-16062
Does there exist a list yet?
The subject has been discussed a long time ago. Javascript reserved words is mentioned.
Today I found out Designer does not like id: date, which is not listed as reserved JS word?Text { id: date text: "12.12.2012" }
which gives warning: Line: 12: This id might be ambiguous and is not supported in Qt Design Studio. (M209)
id: dateLabel is Ok ...Text { id: dateLabel text: "12.12.2012"
}
-
date is not a JS keyword, but a QML value type. But yeah, it would be good to have that more explicit in the documentation ...