import Test 1.0 as Namespace import Qt 4.6 QtObject { Namespace.MyQmlObject.foo: 10 }