[Development] Building Qt documentation with developer-build

Nils Jeisecke nils.jeisecke at saltation.com
Thu Oct 4 17:35:05 CEST 2018


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



More information about the Development mailing list