Hi
I need to check if a file exists in a folder, and that the file name actually matches the case of the search string. However on Windows QFile::exists() and/or QFileInfo::exists() does not take the case of the file name into account. I have not tested it but I suspect on Unix exists() will take the case of the file name into account.
Is there any way to use the exists() function as on windows so that they take the case into account?
I can probably do a manual check by looking at the file names in the directory using QDir, but I'm hoping there is an easier way.
Thanks,
Jaco
Bookmarks