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 文檔編製瞭解細節。