On windows, the following code causes an assert in QFileSystemModelPrivate::addNode. This is just an easy way to reproduce a problem that can have severe consequences.
For instance, I use a QSortFilterProxyModel::filterAcceptsRow and in certain cases, my overriden function is called recursively, causing sometimes a crash.
The root of the problem is in QFileSystemModelPrivate::node (and maybe elsewhere) where the case sensitivity of the file system is not taken in account,
There is this line:
while in other parts of the file, the case sensitivity is taken into account, eg.
|For Gerrit Dashboard: QTBUG-64147|
|211944,8||QFileSystemModel/Windows: Make file name checking case-insensitive||5.9||qt/qtbase||Status: MERGED||-2||0|