According to the docs in QDateTime::IsValid:
If the timeSpec() is Qt::LocalTime or Qt::TimeZone then the date and time are checked to see if they fall in the Standard Time to Daylight Time transition hour, i.e. if the transition is at 2am and the clock goes forward to 3am then the time from 02:00:00 to 02:59:59.999 is considered to be invalid.
QDateTime specified for March 25th, 2007 from 02:00:00 to 02:59:59.999 falls into a " Standard Time to Daylight Time transition hour", i.e. QDateTime::isValid fails, which in turn means that that time does not exist for timeSpec() Qt::LocalTime or Qt::TimeZone.
Sorry for using this forum as a rubber duck...