新建A.qml 文件。 ... A.qml import QtQuick 2.0 Item{ width: 200 height: 200 Rectangle { id:rect width: 200 ... 編輯main.qml,添加Loader組件。
確定! 回上一頁