I am using QFileSystemModel and QSortFilterProxyModel. With some rootDir set to QFileSystemModel. And I'm using filterAcceptsRow to filter all child folders and files for contatining "filter" name. But function can't check all inner directories because of QFileSystemModel doesn't load all hierarchy before it needs it.
Look how different search results from QDir recursive search and using QFileSystemModel, just because QFileSystemModel don't know anything of some subfolders during the search. At the bottom results there is a case insensitivity, but it is not the huge difference.

How can I force QFileSystemModel load all hierarchy, no matter how much time it will take?