Qt 判断文件是否存在

包含头文件:<QFileInfo>spa

代码:file

QFileInfo file("文件路径");
if(file.exists()==false){文件不存在;}
相关文章
相关标签/搜索