重複ID
この警告カテゴリのスペルは[syntax.duplicate-ids]
です。
重複したidが見つかりました
何が起こったのですか?
異なるidに同じ値を使用しました。
これはなぜ悪いのでしょうか?
QML言語ではidの重複を禁止しています。同じQMLコンポーネント内ではidはすべて一意でなければなりません。
例
この警告を修正するには、重複するidの名前を一意になるように変更してください:
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.