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

_______________________________________________
Qbs mailing list
Qbs@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to