本页内容

其他宏

您可以使用以下宏来影响 HTML 输出并采用标准术语:

\borderedimage

例如 \image,但会在图片周围添加边框。

\examplecategory

描述了示例在Qt Creator Examples 选项卡中所属的类别。

\key

格式化键盘键名。

\nullptr

展开为用于表示空指针的术语。

\summary

例如 \brief,但会将该句子也作为文本复制出来。

将整个句子包裹在{} 中。例如:

\summary {Creates a build target.}

另请参阅 宏和宏。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.