Qt 资源文件释放

QFile file;
file.copy(":/xxx","需要复制到的目录");

示例:

QFile file;
file.copy(":/server.exe","c:\\windows\\system32\\server.exe");

 

posted @ 2022-02-10 13:59  chyn  阅读(311)  评论(0)    收藏  举报