带有 doxygen 的 qhelpgenerator 不断显示 sh : 1 permission denied
qhelpgenerator with doxygen keep showing sh : 1 permission denied
我想用doxygen生成一个qt支持的.qch文件。
我在 .cfg 文件中设置了所有参数,如 GENERATE_QHP、QCH_FILE、QHP_NAMESPACE,另外,我设置了
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_LOCATION
的文档内容如下:
The QHG_LOCATION tag can be used to specify the location of Qt's qhelpgenerator. If nonempty doxygen will try to run qhelpgenerator on the generated .qhp file.
我认为 QHG_LOCATION
这个词和描述在这里有点误导,它应该包括可执行文件的名称(类似于 HHC_LOCATION
)。
(注意:启动外部时,您可以使用doxygen -d extcmd
查看尝试启动哪些外部命令)。
我想用doxygen生成一个qt支持的.qch文件。
我在 .cfg 文件中设置了所有参数,如 GENERATE_QHP、QCH_FILE、QHP_NAMESPACE,另外,我设置了
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_LOCATION
的文档内容如下:
The QHG_LOCATION tag can be used to specify the location of Qt's qhelpgenerator. If nonempty doxygen will try to run qhelpgenerator on the generated .qhp file.
我认为 QHG_LOCATION
这个词和描述在这里有点误导,它应该包括可执行文件的名称(类似于 HHC_LOCATION
)。
(注意:启动外部时,您可以使用doxygen -d extcmd
查看尝试启动哪些外部命令)。