QLatin1String 类

QLatin1String is the same as QLatin1StringView . 更多...

头: #include <QLatin1String>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core

详细描述

QLatin1String is a view to a Latin-1 string. It's the same as QLatin1StringView and is kept for compatibility reasons. It is recommended to use QLatin1StringView 代替。

请参阅 QLatin1StringView 文档编制了解细节。