From 2433fa45d75cf26add9e7f0ceb8ee439eba68753 Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Mon, 7 May 2018 13:36:16 +0900 Subject: Fix build without features.timezone Change-Id: Id40b7a9394a9027551a1334e9e520630e8967cb7 Reviewed-by: Edward Welbourne Reviewed-by: Oswald Buddenhagen --- src/qml/jsruntime/qv4dateobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/qml/jsruntime/qv4dateobject.cpp b/src/qml/jsruntime/qv4dateobject.cpp index bc9b3013d1..5bbe312146 100644 --- a/src/qml/jsruntime/qv4dateobject.cpp +++ b/src/qml/jsruntime/qv4dateobject.cpp @@ -55,7 +55,7 @@ #include -#ifdef Q_OS_LINUX +#if defined(Q_OS_LINUX) && QT_CONFIG(timezone) /* See QTBUG-56899. Although we don't (yet) have a proper way to reset the system zone, the code below, that uses QTimeZone::systemTimeZone(), works -- cgit v1.2.3