A wrapper around a string literal to uniquely identify warning categories in the
QQmlSA
框架。
更多...
| 头: |
#include <LoggerWarningId>
|
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
|
| 状态: | 技术预览 |
| LoggerWarningId (QAnyStringView name ) | |
| QAnyStringView | name () const |
[constexpr]
LoggerWarningId::
LoggerWarningId
(
QAnyStringView
name
)
Constructs a LoggerWarningId object with logging catergory name name .
Returns the name of the wrapped warning category.