summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qcontainerfwd.h
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2022-07-28 13:47:56 +0200
committerSona Kurazyan <sona.kurazyan@qt.io>2022-07-29 23:04:21 +0200
commit908d048e4f4614c0d0bb2e7efdadd6d842496fb0 (patch)
tree1c4633725b8f631180386dc983a1ba622a341282 /src/corelib/tools/qcontainerfwd.h
parent349e74c06cd6be2705c7767f3c23935910fdadd4 (diff)
Extract header qenvironmentvariables.h from qglobal.h
qcontainerfwd.h was relying on the forward declaration of QByteArray in qglobal.h, so add the missing forward declaration there. Additionally, had to move the implementations of qTzSet() and qMkTime() to qenvironmentvariables.cpp along with environmentMutex. Task-number: QTBUG-99313 Change-Id: I233aff305c2fedaf0a48362cc99ff2d6f6c0ee54 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/corelib/tools/qcontainerfwd.h')
-rw-r--r--src/corelib/tools/qcontainerfwd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/tools/qcontainerfwd.h b/src/corelib/tools/qcontainerfwd.h
index 1f0d36428a..73e8896472 100644
--- a/src/corelib/tools/qcontainerfwd.h
+++ b/src/corelib/tools/qcontainerfwd.h
@@ -30,6 +30,7 @@ template <typename T> class QList;
#ifndef Q_CLANG_QDOC
template<typename T> using QVector = QList<T>;
using QStringList = QList<QString>;
+class QByteArray;
using QByteArrayList = QList<QByteArray>;
#else
template<typename T> class QVector;