[Qbs] Unable to run qdoc in Qt 5.11

resurrection at centrum.cz resurrection at centrum.cz
Fri Mar 23 18:06:41 CET 2018


In Qt 5.11 qdoc underwent major rewrite with Clang as its backend. Unfortunately there is something wrong or missing now in the Qbs product that is supposed to build documentation with qdoc. Product that works with Qt 5.10 qdoc (no clang):


Product {
    Depends { name: "Qt"; submodules: [ "core" ]; }
    builtByDefault: false
    type: "qch"
    
    Group
    {
        files: *.qdocconf
        fileTags: "qdocconf-main"
    }
 
    Group
    {
        fileTagsFilter: ["qdoc-output"]
        qbs.install: true
        qbs.installDir: project.installDirectory
        qbs.installSourceBase: Qt.core.qdocOutputDir
    }
 
    Group
    {
        fileTagsFilter: ["qch"]
        qbs.install: true
        qbs.installDir: project.installDirectory
}   
 
I have tried supplying the path to clang with LLVM_INSTALL_DIR environment variable (both global and local to build) and adding the LLVM/bin to environment path. Neither works when building this product. No warning, no error, no output.
 
Running qdoc on the command line works.
 
Any ideas or necessary changes for new qdoc?
 
Thanks,
Michael

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


More information about the Qbs mailing list