[Development] Building Qt documentation with developer-build

Jaroslaw Kobus Jaroslaw.Kobus at qt.io
Fri Oct 5 07:46:08 CEST 2018


Hi,


You may also want to check the https://bugreports.qt.io/browse/QTBUG-65762 - if you think the issue is still not solved, you may reopen / report new bug report.


Regards


Jarek

[QTBUG-65762] Compiling qdoc in dev is a big pain - Qt Bug ...<https://bugreports.qt.io/browse/QTBUG-65762>
bugreports.qt.io
I've recently updated my dev branch of qt and I have big issues compiling qdoc. For the first machine I've learned (from a colleague) that I need libclang in order to compile it.



________________________________
From: Development <development-bounces+jaroslaw.kobus=qt.io at qt-project.org> on behalf of Mitch Curtis <mitch.curtis at qt.io>
Sent: Thursday, October 4, 2018 5:49:35 PM
To: Nils Jeisecke; development at qt-project.org
Subject: Re: [Development] Building Qt documentation with developer-build

Did you set LLVM_INSTALL_DIR before building Qt? If you check the build log you should see an error message related to the failure to build qdoc.

> Seems that qdoc was not build at all. Building qdoc as described on
    https://wiki.qt.io/Building_Qt_Documentation does not work.

If you forgot LLVM_INSTALL_DIR and are trying to build qdoc separately rather than with the rest of Qt, you might run into https://bugreports.qt.io/browse/QTBUG-66366, in which case you’ll need to rebuild *all of Qt*, unfortunately.

On 10/4/18, 5:35 PM, "Development on behalf of Nils Jeisecke via Development" <development-bounces+mitch.curtis=qt.io at qt-project.org on behalf of development at qt-project.org> wrote:

    Hi,

    While trying improve the documentations to fix QTBUG-32064 I've stumbled
    over problems invoking qdoc.

    I'd like to use my developer-build to check the result of my changes but
    qdoc seems to have been skipped when building with --developer-build.

    "make docs" from within my shadow build directory fails:

    /Users/njeiseck/projects/qt/build/5.12.0-alpha1/qtbase/src/corelib/qdoc_wrapper.sh: line 12: /Users/njeiseck/projects/qt/build/5.12.0-alpha1/qtbase/bin/qdoc: No such file or directory
    /Users/njeiseck/projects/qt/build/5.12.0-alpha1/qtbase/src/corelib/qdoc_wrapper.sh: line 12: exec: /Users/njeiseck/projects/qt/build/5.12.0-alpha1/qtbase/bin/qdoc: cannot execute: No such file or directory
    make[6]: *** [prepare_docs] Error 126
    make[5]: *** [debug-prepare_docs] Error 2
    make[4]: *** [sub-corelib-prepare_docs] Error 2
    make[3]: *** [sub-src-prepare_docs] Error 2
    make[2]: *** [module-qtbase-prepare_docs] Error 2
    make[1]: *** [html_docs] Error 2
    make: *** [docs] Error 2

    Seems that qdoc was not build at all. Building qdoc as described on
    https://wiki.qt.io/Building_Qt_Documentation does not work.

    I've not found any special qdoc configure options so what am I doing
    wrong?

    This is my configure line:

    ../../qt512/configure -developer-build -opensource -nomake examples -nomake tests -skip qtwebchannel -skip qtscript -skip qt3d -skip qtdatavis3d -skip qtremoteobjects -skip qtserialport -skip qtvirtualkeyboard -skip qtwebengine -opensource -confirm-license

    Any help is appreciated!

    Nils
    _______________________________________________
    Development mailing list
    Development at qt-project.org
    http://lists.qt-project.org/mailman/listinfo/development


_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20181005/e3ea3b0c/attachment.html>


More information about the Development mailing list