blob: dcfe6e4cd0a2109127eea25902d601bb38d90f88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
//![0]
// exampleTwo.qml
import QtQuick
import Qt.example
QtObject {
property AvatarExample a;
a: AvatarExample { id: example }
property var avatar: example.avatar
// Now `avatar' contains a reference to the scarce resource.
}
//![0]
|