diff --git a/src/corelib/text/qstring.h b/src/corelib/text/qstring.h index f3c7ce10266..1ab4ed97874 100644 --- a/src/corelib/text/qstring.h +++ b/src/corelib/text/qstring.h @@ -1493,9 +1493,7 @@ inline QString operator"" _qs(const char16_t *str, size_t size) noexcept QT_END_NAMESPACE -#if defined(QT_USE_FAST_OPERATOR_PLUS) || defined(QT_USE_QSTRINGBUILDER) #include -#endif #ifdef Q_L1S_VIEW_IS_PRIMARY # undef Q_L1S_VIEW_IS_PRIMARY diff --git a/src/corelib/text/qstringconverter.h b/src/corelib/text/qstringconverter.h index 373c1ad1e91..e12516966a8 100644 --- a/src/corelib/text/qstringconverter.h +++ b/src/corelib/text/qstringconverter.h @@ -13,9 +13,7 @@ #include #include -#if defined(QT_USE_FAST_OPERATOR_PLUS) || defined(QT_USE_QSTRINGBUILDER) #include -#endif QT_BEGIN_NAMESPACE