hello i am using private path for storing my response in txt file and also some values which i use for my application in .ini file. i used as follows for txt file.
the file is created in the private path i checked it by showing message box if file exists. and also the value is written to the file.
but the value in the file is not getting fetched when i needed. all the values is empty.
i opened the file as follow.
QString pathforresponse = QApplication::applicationDirPath() + "/response.txt";
if( file.open((QIODevice::ReadOnly | QIODevice::Text)))
readbytes = file.readAll();
and got the file and opened it but the value is not read. any problem in which i am using this file in private path?????. same thing happenes for my .ini file also which is in the private path. wats the problem thanks for any replies.