4 // Here we import a scarce resource directly.
5 // The instance has a property which is a copy
6 // of the scarce resource, so it should not be
7 // detached (but we should automatically release
8 // the resource from our engine internal list).
11 property MyScarceResourceObject a;
12 a: MyScarceResourceObject { id: scarceResourceProvider }
13 property variant scarceResourceCopy: scarceResourceProvider.scarceResource