summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qstring.cpp')
-rw-r--r--src/corelib/text/qstring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp
index 6e5415055c..16e9f1d63b 100644
--- a/src/corelib/text/qstring.cpp
+++ b/src/corelib/text/qstring.cpp
@@ -611,7 +611,7 @@ bool QtPrivate::isValidUtf16(QStringView s) noexcept
}
// conversion between Latin 1 and UTF-16
-void qt_from_latin1(char16_t *dst, const char *str, size_t size) noexcept
+Q_CORE_EXPORT void qt_from_latin1(char16_t *dst, const char *str, size_t size) noexcept
{
/* SIMD:
* Unpacking with SSE has been shown to improve performance on recent CPUs
@@ -5092,7 +5092,7 @@ QString QString::fromLocal8Bit_helper(const char *str, int size)
This function can be used to process incoming data incrementally as long as
all UTF-8 characters are terminated within the incoming data. Any
unterminated characters at the end of the string will be replaced or
- suppressed. In order to do stateful decoding, please use \l QTextDecoder.
+ suppressed. In order to do stateful decoding, please use \l QStringDecoder.
\sa toUtf8(), fromLatin1(), fromLocal8Bit()
*/