i am on stincking windows. the filename is case insensitive. file.txt = FiLe.tXT
I need to match against a list of case insensitive file names (strings) and determine the real filename that exists in the sistem :

if file.exists("case-insensitive.txt") then tell me file.filename(the real one not case-insensitive)

QString tmp = "file.txt"; //will match FiLe.tXt which is OK
QFile file(tmp);
qDebug()<<file.fileName();
QFileInfo file_info(file);
file_info.absoluteFilePath(); // i want FiLE.tXt not file.txt

how do i obtain the real name that exists in the windows file system ?