帮助文档中提到通过.qhcp和.qhp文件生成qhc文件。
后来通过
QProcess *p = new QProcess;
QStringList args;
args << QLatin1String("-collectionFile")
<< QLatin1String("mycollection.qhc")
<< QLatin1String("-enableRemoteControl");
p->start(QLatin1String("assistant"), args);
if (!p->waitForStarted())
return;
QTextStream str(p);
str << QLatin1String("setSource qthelp://com.mycompany.1_0_0/doc/index.html\0") << endl;
的方式来启动一个帮助文档。
请问.qhcp文件中的<cacheDirectory>mycompany</cacheDirectory>是保存在数据库中了吗?qthelp://是从数据库中读取的吗?
如果是采用QT自己的数据库,请问数据库存放在什么地方了?
备注:如果使用的adp文件的方式,在当前用户主目录可以找到保存的索引之类的文件。但是使用qhc文件的方式的时候没有找到相应文件。