중복 인라인 컴포넌트
이 경고 카테고리의 철자는 [duplicate-inline-component]
입니다.
중복된 인라인 컴포넌트
무슨 일인가요?
두 인라인 컴포넌트의 이름이 같습니다.
이것이 왜 나쁜가요?
하나의 이름이 두 개 이상의 유형을 나타내며 모호성을 유발합니다. 컴파일에 실패합니다.
예시
import QtQuick Item { component R : Rectangle { color: "red" } component R : Rectangle { color: "blue" } // Fail to compile }
이 경고를 해결하려면 인라인 컴포넌트 중 하나를 제거하거나 이름을 바꾸세요:
© 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.