编写代码文档

在“Edit ”模式下编写文档注释时,您可以启用 Doxygen 代码块,并自动添加简短描述和开头的星号。此外,您还可以选择要使用的 Doxygen 命令前缀。

要为特定项目设置文档注释的首选项,请选择“Projects ” > “Project Settings ” > “Documentation Comments ”,并取消勾选“Use global settings ”。

项目设置中的文档注释

要设置全局首选项,请选择“Preferences ” > “Text Editor ” > “Documentation Comments ”。

另请参阅 构建和运行项目》

Copyright © The Qt Company Ltd. and other contributors. 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.