diff --git a/src/support/lyxtime.cpp b/src/support/lyxtime.cpp index daf3dcc9ac..99a797254c 100644 --- a/src/support/lyxtime.cpp +++ b/src/support/lyxtime.cpp @@ -19,7 +19,7 @@ #include #include -#if (QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)) +#if (QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)) #include #endif @@ -72,7 +72,7 @@ time_t from_asctime_utc(string t) << "ยด (invalid format)"); return static_cast(-1); } -#if (QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)) +#if (QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)) loc_dt.setTimeZone(QTimeZone(QTimeZone::UTC)); #else loc_dt.setTimeSpec(Qt::UTC);