QFile file("D:\\Qt\\test\\out.txt");

when i use the absolutePath, it works all right

but when i use
QFile file("./out.txt");
i seems that i can't read the file

out.txt and the code are in the same dir

how to solve the problem with relative path

THX