summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstringconverter.cpp
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2022-02-10 12:58:22 +0100
committerMårten Nordheim <marten.nordheim@qt.io>2022-02-10 16:52:26 +0000
commit24249c0b67a159890077be28470e4b68fa6170fc (patch)
treeb8b84212686acafc1fafe845a8141de97cfac124 /src/corelib/text/qstringconverter.cpp
parent5f987317a7527f0c7400e255ff20412997fc5dca (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. Pick-to: 6.3 6.2 Change-Id: I2272b6914e883e20d0989a1762eb1a5c1aef4e0e Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib/text/qstringconverter.cpp')
-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