Unknown component. (M300) for inline components
-
Hi,
for Inline Components that are defined in another file, I get the error message in QtCreator (8.0.1): Unknown Component. (M300).
Bute the code runs without errors.main.qml
import QtQuick 2.15 import QtQuick.Window 2.15 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Test.MyRectangle { anchors.centerIn: parent } }
Test.qml
import QtQuick 2.15 Item { component MyRectangle : Rectangle { width: 200 height: 300 color: "red" } }