Hello,

i am trying to convert a simple QString to a QDateTime using some format. The conversion doesn't work -> The QDateTime object "dt" is not valid. What is wrong?
I am using Qt 5.

QString strValue = "2018-08-09T12:38:57.709000Z";
QString format = "yyyy-MM-ddTHH:mm:ss.zzzzzzZ";
QDateTime dt = QDateTime::fromString (strValue, format);