When using QtQuick3D in conjunction with a Qt 6 kit the order of import statements makes a difference.
If the order is
import QtQuick 2.15
import QtQuick3D 1.15
then everything works as expected.
If the order is reversed then View3D is not recognized as Item.
import order should not make a difference