I am trying to use FolderListModel, according to this example
like this:
ListView
{
anchors.fill: parent
FolderListModel
{
id: foldermodel
folder: "C:/Qt/Projects/"
showDirs: true
showDotAndDotDot: true
nameFilters: ["*"]
sortField : "Name"
}
Component {
id: filedelegate
Text { text: fileName }
}
model: foldermodel
delegate: filedelegate
}
i want to show all the files/directories under the base directory, in a recursive way. does any one have an idea how to do that?