title: Copy from QStringList to text file
body: <p>How do I copy data from a Qstring list to a text file for later retrieval?
  Is it possible to do this in Qt?</p>
  
  <p>How to put a newline character into a text fiel using QFile I did like this </p>
  
  <pre><code>QFile data("output.txt"); 
  if (data.open(QFile::Append )) 
  { 
   QTextStream out(&amp;data);  
   out &lt;&lt; fileDet[i]; 
   data.putChar('\n');
  }
  </code></pre>