就连我的问题也和
this
第一,提供的答案不能解决我的问题。
我正在努力创造我的第一个
QDoc
输出
为了测试它,现在我只有一条评论
main.cpp
:
/*!
* \brief main
* \param argc
* \param argv
* \return
*
* bla bla bla
*/
int main(int argc, char *argv[])
{
// ...
这里是我的配置文件:
#include(compat.qdocconf)
#include(fileextensions.qdocconf)
project = MyProject
outputdir = docs
outputformats = HTML
headerdirs = .
sourcedirs = .
exampledirs = .
imagedirs = ./images
问题#1
:在
minimum example
这个
project
字段不存在。但如果没有它,你就跑
qdoc myproject.qdocconf
我得到:
qt.qdoc: "qdoc can't run; no project set in qdocconf file"
问题#2
:与
项目
字段集,这是输出:
qt.qdoc: Start qdoc for MyProject in dual process mode: generate phase.
qt.qdoc: No include paths passed to qdoc; guessing reasonable include paths
(qdoc) Could not find the module header in include paths for module "MyProject" (include paths: QList() )
Artificial module header built from header dirs in qdocconf file
qt.qdoc: Parse source files for "MyProject"
qt.qdoc: Source files parsed for "MyProject"
qt.qdoc: End qdoc for MyProject in dual process mode: generate phase.
我不知道如何包含路径。
Here
我找不到这样一个
include
命令
它创建输出
docs
目录,但它几乎是空的:只有
myproject,index
文件在那里。
为了生成HTML文件,我还需要做些什么?