[Qbs] Building QDoc based documentation with Qbs

resurrection at centrum.cz resurrection at centrum.cz
Tue Jul 18 20:58:52 CEST 2017


How do one build QDoc based documentation with Qbs? I have been struggling with making this to work. The documentation says next to nothing about it and the use case I found in Qbs source code did work only partially (it created qch file for one module but no HTML or anything else so qhelpgenerator probably did not run?): https://github.com/qt-labs/qbs/blob/master/doc/doc.qbs <https://github.com/qt-labs/qbs/blob/master/doc/doc.qbs>. When I run QDoc and QHelpGenerator on the command line it works fine but for some reason I cannot make it work with Qbs. On the command line I use this:
 
qdoc -outputdir doc/ project.qdocconf  
qhelpgenerator doc/project.qhp -o doc/project.qch
 
with fairly basic qdocconf file using wild cards to match all relevant files in all modules of the project. This gives me both qch file (for use in Qt Creator) and the HTML documentation. 
 
What does Qbs require to do similar thing to above commands? Thanks!
 
Michael Vlach

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20170718/a492e77a/attachment.html>


More information about the Qbs mailing list