I\'ve a QMap object and I am trying to write its content to a file.
QMap
QMap extensions; //.. for(auto e : extensions) { fou
I used something like this, to achieve my own result. Just in case someone needed the keys and values separately.
{ QMap map; map.insert(1,"One"); map.insert(2,"Two"); map.insert(3,"Three"); map.insert(4,"Four"); fout<<"Values in QMap 'map' are:"<