title: QSettings: How to read array from INI file
body: <p>I wanna read comma separated data form INI file. I've already read here: </p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/27557727/qsettingsiniformat-values-with-returned-as-qstringlist">QSettings::IniFormat values with &quot;,&quot; returned as QStringList</a></li>
  <li><a href="https://stackoverflow.com/questions/18052930/how-to-read-a-value-using-qsetting-if-the-value-contains-comma-character">How to read a value using QSetting if the value contains comma character</a> </li>
  </ul>
  
  <p>...that commas are treated as separators and QSettings value function will return QStringList.</p>
  
  <p>However, my data in INI file looks like this:</p>
  
  <pre><code>norm-factor=&lt;&lt;eof
  1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0
  1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0
  1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0
  1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0
  1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0
  1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0
  eof
  </code></pre>
  
  <p>I don't need a whole matrix. All rows joined up together are fair enough for me. But can QSettings handle such structure?</p>
  
  <p>Should I read this using:</p>
  
  <pre><code>QStringList norms = ini-&gt;value("norm-factor", QStringList()).toStringList();
  </code></pre>
  
  <p>Or do I have to parse it in another way?</p>