diff options
Diffstat (limited to 'src/corelib/time/qdatetime.h')
-rw-r--r-- | src/corelib/time/qdatetime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/time/qdatetime.h b/src/corelib/time/qdatetime.h index 5a8e1aecd8..62642a5fd2 100644 --- a/src/corelib/time/qdatetime.h +++ b/src/corelib/time/qdatetime.h @@ -55,7 +55,9 @@ Q_FORWARD_DECLARE_OBJC_CLASS(NSDate); QT_BEGIN_NAMESPACE +#if QT_CONFIG(timezone) class QTimeZone; +#endif class QDateTime; class Q_CORE_EXPORT QDate // ### Qt 6: change to be used by value, not const & |