From 70eab2cfd2700aec104a69243b6c26aa63f7e050 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Tue, 11 Jul 2023 16:55:51 +0200 Subject: [PATCH] Drag qstring.h out of the qstringbuilder.h guard qstringbuilder.h needs qstring.h completely parsed. Without this change, we won't be able to include qstringconverter.h even at the end of qstring.h (needed for QTBUG-114208). Picking back to 6.5 to reduce the diff with our LTS going forward. Task-number: QTBUG-114208 Change-Id: I83d5bcc0939b698209481793f60a0199aa95a06e Reviewed-by: Dennis Oberst Reviewed-by: Thiago Macieira Reviewed-by: Qt CI Bot (cherry picked from commit edcb8e901b9353eacaefc5ba646800125edafb51) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/text/qstringbuilder.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/corelib/text/qstringbuilder.h b/src/corelib/text/qstringbuilder.h index 79b854cdb43..30cf46dedd4 100644 --- a/src/corelib/text/qstringbuilder.h +++ b/src/corelib/text/qstringbuilder.h @@ -1,6 +1,8 @@ // Copyright (C) 2020 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only +#include + #ifndef QSTRINGBUILDER_H #define QSTRINGBUILDER_H @@ -11,7 +13,6 @@ #pragma qt_sync_stop_processing #endif -#include #include #include