As per https://doc.qt.io/qtcreator/qtquick-placeholder-data.html#creating-dummy-context I want to add a dummy context to my QT 5.15.2 project. The webpage mentioned creating a qml file with the following content:
import QtQuick 2.0
import QmlDesigner 2.0 // this is where the error is indicated: qml module not found (qml designer)
DummyContextObject {
parent: Item {
width: 640
height: 300
}
}
Apparently the QmlDesigner module is unknown. I don't know how to solve this.
question from:https://stackoverflow.com/questions/65862757/howto-resolve-qml-module-not-found-qml-designer