Qt Code:
  1. import QtQuick 2.0
  2.  
  3. Item
  4. {
  5. id : mainWindow
  6. width : 1024
  7. height : 768
  8.  
  9. QtObject
  10. {
  11. id: anisha
  12. property url theme;
  13. }
  14.  
  15. anisha.theme: "ddsad";
  16. }
To copy to clipboard, switch view to plain text mode 
Error:

Qt Code:
  1. Cannot assign to non-existent property "anisha"
  2. anisha.theme: "ddsad";
To copy to clipboard, switch view to plain text mode 

What is the way to use QtObject?