Qt 判斷文件是否存在

包含頭文件:<QFileInfo>spa

代碼:file

QFileInfo file("文件路徑");
if(file.exists()==false){文件不存在;}
相關文章
相關標籤/搜索