Shadow
qmllint에서는 이 경고 범주를 ‘ [shadow] ’로 표기합니다.
기본 유형에 신호 또는 메서드가 이미 존재합니다
무슨 일이 발생했나요?
현재 컴포넌트의 멤버 이름이 기저 클래스의 신호 또는 메서드와 동일합니다.
다른 속성을 가리는 속성은 '속성 재정의( Property override )' 범주에서 처리된다는 점에 유의하십시오.
왜 문제가 될까요?
가려진 신호나 메서드는 더 이상 사용할 수 없습니다. 이로 인해 코드의 가독성이 떨어지고 혼란을 야기할 수 있습니다.
예시
이 경고를 해결하려면 f 신호의 이름을 변경하거나, 이를 가리는 int 속성의 이름을 변경하십시오.
© 2026 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.