I have looked at the following site, and I am trying to get it working: http://stackoverflow.com/questions/2...other-qml-file
I did not get it working with this code:


ToClick.qml:
Qt Code:
  1. ToChange
  2. {
  3. id:luncherList
  4. }
  5. (in mousearea:)
  6. onClicked:
  7. {
  8. luncherList.callUrl = 'T';
  9. }
To copy to clipboard, switch view to plain text mode 


ToChange.qml:
Qt Code:
  1. visible: false
  2. property alias callUrl: item1.visible
  3. onCallUrlChanged:
  4. {
  5. item1.visible = (callUrl != 'T' ? false : true);
  6. }
To copy to clipboard, switch view to plain text mode 

What do I have to do to make visible the rectangle of item1 in ToChange.qml on click of ToClick.qml?