main.qml:
Qt Code:
  1. import QtQuick 2.0
  2.  
  3. Rectangle {
  4. height: 300
  5. width: 300
  6. color: "black"
  7.  
  8. Zero {
  9. m_ref.m_url: "something"
  10. }
  11. }
To copy to clipboard, switch view to plain text mode 

Zero.qml
Qt Code:
  1. import QtQuick 2.0
  2.  
  3. Item {
  4. property alias m_ref: objZero
  5.  
  6. Rectangle {
  7. id: objZero
  8.  
  9. property url m_url
  10. }
  11. }
To copy to clipboard, switch view to plain text mode 

This gives an error:
Qt Code:
  1. "m_url" Cannot assign to non-existent property
  2. m_ref.m_url: "something"
  3. ^
To copy to clipboard, switch view to plain text mode 

However i can use m_url inside Zero.qml anywhere (by qualifying with the correct id ofcourse) or alias it with the topmost Item of Zero.qml and use the alias in main.qml.
Why using it the way shown above gives an error while the other methods (in the previous sentence) don't?

{using Qt 5.1.0 beta and Rc both, Windows 7, QtQuick 2.0}