This warning category is spelled
[duplicate-inline-component]
by qmllint.
Two inline components have the same name.
One name refers to more than one type and causes an ambiguity. This will fail to compile.
import QtQuick Item { component R : Rectangle { color: "red" } component R : Rectangle { color: "blue" } // Fail to compile }
To fix this warning, remove or rename one of the inline components:
import QtQuick Item { component RedRectangle : Rectangle { color: "red" } component BlueRectangle : Rectangle { color: "blue" } }