1
|
dirItr->path().filename()
|
返回的是path类型的,下面是声明:
1
|
path filename()
const
;
// returns 0 or 1 element path
|
要先转换成string,例如