迭代子目录的各种办法

QDirIterator it(dir, QStringList() << "*.jpg", QDir::Files, QDirIterator::Subdirectories);
while (it.hasNext())
qDebug() << it.next();

 

https://ask.helplib.com/996819

posted @ 2017-07-29 01:31  findumars  Views(315)  Comments(0Edit  收藏  举报