import Qt.labs.folderlistmodel 2.1 FolderListModel { nameFilters: [ "*.txt" ] folder: "qrc:/myprefix/subdir/txtdir" }