Hi,

how to store an custom enum with QSettings and restore it?

Qt Code:
  1. myClass::myEnum m_enum = settings.value("xxx").value<myClass::myEnum>(); // fails because no Qt-class
To copy to clipboard, switch view to plain text mode 


Thanks
Lykurg