资源的加载: label1->setPixmap(QPixmap(":/tu/tupian/lm.jpg"));label1->setScaledContents(true);//图片自动适应label大小