21,483
社区成员
发帖
与我相关
我的任务
分享
Rectangle{
id:root
widht:640
height: 480
ToTexture{ id: toTexture} //a new type created by c++
MouseArea{
anchors.fill: parent
onClicked: {
toTexture.saveAsTexture(root)
}
}
}
我想把root当成图档抓下来,不知道能否办到?