This warning category is spelled
[duplicate-import]
by qmllint.
The document contains duplicate import statements.
They pollute the document unnecessarily and may slow down startup of the app.
import QtQuick.Controls
import QtQuick
import QtQuick 2.1 as QQ21
import QtQuick.Controls
Item {
}
To fix this warning, remove all but the last duplicated import. Be careful to not change the order of imports, as it can affect type resolution:
import QtQuick import QtQuick 2.1 as QQ21 // different from the previous import import QtQuick.Controls Item { }