QtCreator为内置Qt函数提供工具提示,如下所示:
我已经为我自己的函数添加了一些文档,如下所示:
/**
* @brief serialize Writes the passed field definition set to the specified device.
* @param device Device to write the field definition set to.
* @param fieldDefinitionSet Field definition set to write.
*/
void serialize(QIODevice& device, const FieldDefinitionSet& fieldDefinitionSet) const;
Run Code Online (Sandbox Code Playgroud)
运行Doxygen和qhelpgenerator,我创建了自己的.qhp文件并将其添加到QtCreator.但是,QtCreator仍然没有在工具提示中显示我的简短摘要:
我假设QtCreator基本上已经识别了我的.qhp文件,因为点击F1会显示生成的文档:
有没有办法在工具提示中获得简短的摘要?我已经尝试了一切
但仍然没有摘要.