I'm doing a recursive scan of a folder, and noticed that if a folder name is, for example,

!myfolder

QDir will replace the "!" with "..", and next loop will try to get to the parent folder, instead of continuing the recursion.

How are we supposed to deal with folder containing special characters? Thanks