Qt 6.11 brings a range of new qmllint warnings covering shadowing of QML members (properties, signals, methods, and ids), JavaScript-specific issues, enumeration usage, property assignments, and miscellaneous cases. New keywords—virtual, override, and final—help developers explicitly mark shadowing intent. The post walks through concrete examples of silent shadowing bugs (e.g., a rotation property hiding Item's built-in rotation, or a clip() method shadowing the clip property) and explains how qmllint now catches these. A preview of the upcoming [id-shadows-member] warning in Qt 6.12 is also included. Full documentation for all warnings is available in the Qt docs.
Table of contents
Shadowing QML membersNew JavaScript-specific warningsNew enumerations warningsNew property warningsNew miscellaneous warningsSummarySort: