summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMÃ¥rten Nordheim <marten.nordheim@qt.io>2022-02-10 12:58:22 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-10 17:09:43 +0000
commit8414ba0fe46c6d7f4694ddcbc8c9ef33e35503ea (patch)
tree908607433bb5ec8c010c13a2460445a5a1de1f09
parentb68021af6680506a7bcacdd2096891e1ea01a0af (diff)
QStringConverter: Add missing include on Windows
It's relied on implicitly, which is no longer valid in dev. And may accidentally be broken in other branches. Change-Id: I2272b6914e883e20d0989a1762eb1a5c1aef4e0e Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 24249c0b67a159890077be28470e4b68fa6170fc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/corelib/text/qstringconverter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/text/qstringconverter.cpp b/src/corelib/text/qstringconverter.cpp
index 95e49da32b..83cbc3095a 100644
--- a/src/corelib/text/qstringconverter.cpp
+++ b/src/corelib/text/qstringconverter.cpp
@@ -48,6 +48,9 @@
#ifdef Q_OS_WIN
#include <qt_windows.h>
+#ifndef QT_BOOTSTRAPPED
+#include <QtCore/qvarlengtharray.h>
+#endif // !QT_BOOTSTRAPPED
#endif
#if __has_include(<bit>) && __cplusplus > 201703L