this is my "path/to/file.qml"
Rectangle{
id::root
property string mystring:"Hello"
Button{
id: btnTest
width:140
height: 30
text: "btnTest"
onClicked: {
console.log(root.mystring)
}
MyPlugin{
id:plugin1
Component.onCompleted: {
}
}
}
Rectangle{
id::root
property string mystring:"Hello"
Button{
id: btnTest
width:140
height: 30
text: "btnTest"
onClicked: {
console.log(root.mystring)
}
MyPlugin{
id:plugin1
Component.onCompleted: {
}
}
}
To copy to clipboard, switch view to plain text mode
Yes you are right. The qml.exe is loading 'path/to/file.qml' and then my plugin is also handling the 'path/to/file.qml' file.
My goal is to modify loaded qml file through the plugins in it...
Bookmarks