Following code
import QtQuick 2.15 import QtQuick.Controls 2.15 Rectangle { width: 1920 height: 1080 color:"green" property string className: "SpaceOddity" }
results in altered component type name. In the following screen we should have Rectangle in the properties editor