资源的加载:
label1->setPixmap(QPixmap(":/tu/tupian/lm.jpg"));
label1->setScaledContents(true);//图片自动适应label大小
天子骄龙 ©著作权
文章标签 加载 javascript 文章分类 代码人生
label1->setPixmap(QPixmap(":/tu/tupian/lm.jpg"));
label1->setScaledContents(true);//图片自动适应label大小
上一篇:qt5--Frame控件
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M