Hi and welcome
not directly an answer, but have you looked at the example ?
http://doc.qt.io/qt-5/qtwidgets-dialogs-findfiles-example.html
there is also QFileSystemModel
http://doc.qt.io/qt-5/qfilesystemmodel.html#details
to be used with views.
also, just to be sure u saw it
http://doc.qt.io/qt-5/model-view-programming.html
Good intro on how it fits together.