[Qt-interest] hard copy as text (beside registry & others) of QSettings

navid navid n_nnavid at yahoo.com
Fri Dec 4 19:28:35 CET 2009


Hello,

How can I have alternative hard copy as text (beside registry & others) of QSettings. unfortunately, the following code does not work.


<code>
QString qstr =
    "MyIniFileName_"+
    QDateTime::currentDateTime().toString("yyyy_MM_dd__hh_mm_ss");        _qsetsettings.setPath(QSettings::IniFormat,
                      QSettings::UserScope,
                      QDir::currentPath());
_qsetsettings.setObjectName(qstr);
_qsetsettings.sync();
</code>

regards,
n_navid


      



More information about the Qt-interest-old mailing list