Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QSettings with QDateTime changes between 5..3.2 and 5.8
Richard last edited by Richard
I just upgraded from QT 5.3.2 to 5.8 and Iam writing settings to an ini file on Windows10. I encounter compatibility problems between the two versions.
When I save it like this:
Then with 5.3.2 it will save in my ini file:
But with 5.8 it will write:
Reading it like this
info.LastAccessTime = settings.value("AccessDate").toDateTime();
Works ok for 5.8 for both dialiects but the 5.3.2 fails to read the newer @QDateTime
Is there a fix to this? I was hoping to remain compatible.
Richard last edited by
I Just found out that it must be related to this issue: