this is my "path/to/file.qml"
Qt Code:
  1. Rectangle{
  2. id::root
  3. property string mystring:"Hello"
  4.  
  5. Button{
  6. id: btnTest
  7. width:140
  8. height: 30
  9. text: "btnTest"
  10. onClicked: {
  11. console.log(root.mystring)
  12.  
  13. }
  14.  
  15. MyPlugin{
  16. id:plugin1
  17. Component.onCompleted: {
  18.  
  19. }
  20. }
  21.  
  22. }
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...