The qml code model does not know anything about the existence of that type. So it is correct if it shows that to you.
In detail, that object only exists if the backend process (qmlpuppet or in documentation called emulation layer) renders stuff for the form view in the designer.
But in the current implementation, the qml code model does not know anything about added objects when the emulation layer is running.
I would create a bug report at https://bugreports.qt.io/ about that issue. So the qml code model needs to know about that type somehow.
To make sure that the feature works in the design mode please make sure you are following the help for example there is no qmldesigner 2.0 version only 1.0 exists.
Explanation in the puppet the object is registered with:
qmlRegisterType("QmlDesigner", 1, 0, "DummyContextObject");
see https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/nodeinstanceserver.cpp#n184
Also, the file and folder structure is importent.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…