c++windowsqtqt4.8qfile

Is there a method to ignore the file name case senstivity in Qt c++?


I want to save two different files with the same name, each varrying only in the UpperCase and LowerCase. I am using windows. Is there a function in C++ Qt to ignore the case sensitivity ?


Solution

  • Windows already ignores case sensitivity, so you don't have to do anything to ignore it as long as you execute your code on Windows.

    The problem is when you need to make the difference between two paths relying on the case sensitivity. You really should avoid to have files with the same name in the same directory.