void FindFile(const QString &_filepath)
{
QDir dir(_filepath);
for each (QFileInfo mfile in dir.entryInfoList())
{
if(mfile.isFile())
{
qinfo()<<mfile.fileName();
}
else
{
if(mfile.fileName()=="."||mfile.fileName()=="..") continue;
qinfo()<<“进入文件夹:”<<mfile.absoluteFilePath();
FindFile(mfile.absoluteFilePath());
}
}
}