QDir::setFilter() does not take a QString argument, something you would have noticed if you bothered the read the documentation before declaring that it "Cannot filter the dirs...!". Similarly, the filters argument to the constructor does not take a QString argument.
Bookmarks