QSettings set;QStringList lst;lst << "1" << "2" << "3" << "4";set.setValue("параметр", lst);
QSettings settings ;QStringList sl ;.....settings.setValue( "some_string", sl.join(";") ) ;.....const QStringList sl2 = settings.getValue("some_string").toString().split(';') ;
QStringList MRUlist;
setValue("MRUlist", MRUlist );
settings->MRUlist.clear(); foreach( QAction* action, MRUmenu->actions() ) settings->MRUlist << action->text(); settings->sync();
MRUlist=@Invalid()
QSettings s("test.ini",QSettings::IniFormat); QStringList list; list<<"test"<<"sss"<<"1"; s.setValue("list",list);