I’ve outputed :
after

Qt Code:
  1. QFile file(QDir::toNativeSeparators(outputDir + "/" + fileName));
  2. file.open(QFile::ReadWrite);
To copy to clipboard, switch view to plain text mode 


I’ve get: file.fileName() = “(path to file + file name BUT with separators “/” and not “\” as on Windows)”
file.errorString() = “The parameter is incorrect”
file.error() = 5 ( Error in opening file ).

Why file.fileName() returns path name with “/” ( Linux like separators ) and not that of Windows “\\” or “\” ??
Still can’t open file in rw directory?
What is the problem?
Thank you for your help.