新建一個工程,我們先在designer中,新增一個QLabel部件. 如下圖: 將QLabel拉成適當大小. ... label->setPixmap(QPixmap::fromImage(image));
確定! 回上一頁