doxygen生成的文档与自动生成的qt项目链接 [英] doxygen generated documentation with auto-generated links to qt project

查看:215
本文介绍了doxygen生成的文档与自动生成的qt项目链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用Qt的项目。该文档由doxygen生成。可以配置doxygen以生成在线qt文档的链接。



例如,

  / ** 
*实现QAbstractListModel。
* /

这样的评论将在输出中有一个互联网链接到Qt在线文件QAbstractListModel。

解决方案

您可以使用 TAGFILES 选项,那么您可以将在线链接设置为TAGFILE。参见:

  TAGFILES = qtcore.tags = http://qt-project.org/doc/qt-4.8/ \ 
qtgui.tags = http://qt-project.org/doc/qt-4.8/ \
qtwidgets.tags = http://qt-project.org/doc/qt-4.8/ \
qtxml.tags = http://qt-project.org/doc/qt-4.8/ \
qtnetwork.tags = http://qt-project.org/doc/qt- 4.8 /

更多信息:链接到外部文档



我正在互联网上看到,事实上我找不到答案。我只是尝试了,它对我来说非常棒!


I have a project with use Qt extensively. The documentation is generated with doxygen. Is it possible to configure doxygen to generate links to online qt documentation.

For example,

/**
 * Implements QAbstractListModel.
 */

The comment like this would have in the output an internet link to Qt online documentation of QAbstractListModel.

解决方案

You can use the TAGFILES option on your Doxyfile then you can setup the online link as TAGFILE. See:

TAGFILES = qtcore.tags=http://qt-project.org/doc/qt-4.8/ \
qtgui.tags=http://qt-project.org/doc/qt-4.8/ \
qtwidgets.tags=http://qt-project.org/doc/qt-4.8/ \
qtxml.tags=http://qt-project.org/doc/qt-4.8/ \
qtnetwork.tags=http://qt-project.org/doc/qt-4.8/

More information here: Linking to external documentation

I was looking on internet about that and in fact I couldn't find the answer. I just tried it and it worked so great for me!!!

这篇关于doxygen生成的文档与自动生成的qt项目链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆