Why is this error is showing in qml file?

I’m following the Kirigami tutorial from Explaining pages | Developer

Main.qml file-

Error-

Warnings occurred while importing module "QtQuick": [import]qmllint

Failed to import QtQuick. Are your import paths set up properly? Did you build your project? If yes, did you set the "QT_QML_GENERATE_QMLLS_INI" CMake variable on your project to "ON"? [import]qmllint

This is just a warning, you can ignore it.

It hints how to take advantage of qmllint, that can ease the development, allowing completion and jump-to definition features and more.

Most Qml KDE projects have it configured in their CMakeLists.txt file.

You will need it to mature your code.