Since Qt 6.6, QDateTime::timeSpec() now returns Qt::TimeZone instead of Qt::UTC for the UTC time zone.