diff options
author | Andrei Golubev <andrei.golubev@qt.io> | 2020-04-23 17:11:40 +0300 |
---|---|---|
committer | Andrei Golubev <andrei.golubev@qt.io> | 2020-05-11 14:42:00 +0300 |
commit | b428e98052aa1b97a42f31ed52b1266d17e186ee (patch) | |
tree | d6ce2fefdef8279b986239b2f09a5c3fa36da473 /src/corelib/time/qdatetime.h | |
parent | 255cc55d74b55dfbecd9af0ea8d39aaf181da4ce (diff) |
Make qtbase compile without QT_CONFIG(timezone)
Fixes: QTBUG-83795
Pick-to: 5.15
Change-Id: I05eaaf57d87a9111d3609ebab81bc707f8af98f0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
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 & |