[Qbs] Building QDoc based documentation with Qbs

resurrection at centrum.cz resurrection at centrum.cz
Tue Jul 18 22:33:41 CEST 2017

I made it to work by providing all variables to the qdocconf file I possibly could. Then it started working but I would love to know which one(s) are mandatory when running through Qbs as they apparently were not needed for running from the command line. I have also discovered some inacurracies in the QDoc documentation but that is another matter. :-)
> Od: <resurrection at centrum.cz>
> Komu: <Qbs at qt-project.org>
> Datum: 18.07.2017 20:58
> Předmět: [Qbs] Building QDoc based documentation with Qbs
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

 Qbs mailing list
 Qbs at qt-project.org
 http://lists.qt-project.org/mailman/listinfo/qbs <http://lists.qt-project.org/mailman/listinfo/qbs>

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

More information about the Qbs mailing list