I did not insinuate that my snippet of code was compilable.
The QstringList Read_Request_Time contains "123,456,789" at the ith location
as seen by using a debugger by listing the contents of:
Read_Request_Time.at(i)
This is not how I loaded data, I was trying to let you know what the variable was.
But will you agree that all above informations were missing from previous posts ? That's why we ( I think Zlatomir also ) were confused and focused on wrong part of your code.
Now we know more.
If you still want us to help, try this one to know if it's really the write that causes errors:
if (Read_Request_Time.at(i).size() > 0){
out << "Read_Request" << "\t" << "123,456,789" << "\n";
}
if (Read_Request_Time.at(i).size() > 0){
out << "Read_Request" << "\t" << "123,456,789" << "\n";
}
To copy to clipboard, switch view to plain text mode
or another way, see what debugger says about this one:
if (Read_Request_Time.at(i).size() > 0){
const QString str
= Read_Request_Time.
at(i
) ;
out << "Read_Request" << "\t" << str<< "\n";
}
if (Read_Request_Time.at(i).size() > 0){
const QString str = Read_Request_Time.at(i) ;
out << "Read_Request" << "\t" << str<< "\n";
}
To copy to clipboard, switch view to plain text mode
Bookmarks