pro添加资源,资源中添加图标图片,支持.ico .png .jpg;调用函数this->setWindowIcon(QIcon(":/images/xx.png"));//images是路径,资源添加后才能使用冒号路径;