Qt 具有doxygen的qhelpgenerator继续显示sh:1权限被拒绝
我想使用doxygen生成一个qt支持的.qch文件 我在.cfg文件中设置了所有参数,如GENERATE_QHP、QCH_文件、QHP_名称空间,还设置了Qt 具有doxygen的qhelpgenerator继续显示sh:1权限被拒绝,qt,permissions,documentation,doxygen,Qt,Permissions,Documentation,Doxygen,我想使用doxygen生成一个qt支持的.qch文件 我在.cfg文件中设置了所有参数,如GENERATE_QHP、QCH_文件、QHP_名称空间,还设置了 QHG_LOCATION = "/home/marty/Qt5.14.0/5.14.0/gcc_64/bin/" 当我调用doxygen project.cfg时,成功创建了.html文档。但当谈到qhelpgenerator时,它显示: Running qhelpgenerator... sh:
QHG_LOCATION = "/home/marty/Qt5.14.0/5.14.0/gcc_64/bin/"
当我调用doxygen project.cfg时,成功创建了.html文档。但当谈到qhelpgenerator时,它显示:
Running qhelpgenerator...
sh: 1: /home/marty/Qt5.14.0/5.14.0/gcc_64/bin/: Permission denied
error: failed to run qhelpgenerator on index.qhp
lookup cache used 2501/65536 hits=17469 misses=3200
finished...
我尝试了chmod 777 qhelpgenerator、index.qhp和我能想到的相关文件,然后运行了
sudo doxygen project.cfg
这个问题仍然存在。这已经困扰了我一整天了
有什么想法吗?QHG\U位置的文档如下所示: QHG_位置标记可用于指定Qt的qhelpgenerator的位置。如果为非空,doxygen将尝试在生成的.qhp文件上运行qhelpgenerator 我认为单词
QHG\u LOCATION
和描述在这里有点误导,它应该包括可执行文件的名称(类似于HHC\u LOCATION
)
(注意:启动外部命令时,可以使用
doxygen-d extcmd
查看尝试启动哪些外部命令)。哪个版本的doxygen?