The log told you WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
You need to have a prebuilt libclang. From https://wiki.qt.io/Building_Qt_Documentation#Building_Qt_6_Documentation and https://doc.qt.io/qt-6.4/qdoc-guide-clang.html download a release from https://download.qt.io/development_releases/prebuilt/libclang/qt/ and pass its path via LLVM_INSTALL_DIR env var as mentioned in https://wiki.qt.io/Building_Qt_Documentation#Building_Qt_6_Documentation > On 17. Aug 2023, at 15:10, Haowei Hsu <hwhsu1...@gmail.com> wrote: > > Hello, Alexandru. > After adding '-skip qtpositioning' argument to configure.bat, the configure > step works!! > However, I wonder how to build 'qdoc' alone? It seems that there is no such > target name? > > <image.png> > > Hello, Kai. > If I directly build 'docs' target, then ninja will show that 'qdoc.exe' is > not found. > > <image.png> > > Since qdoc is inside the qttools repository, I tried to build 'qttools' > target directly. > However, there is an error. > > <image.png> > > What happened? How to fix it? > > The following commands are what I run: > • > git checkout 6.3 > • git clean -xfdf && git submodule foreach --recursive git clean -xfdf > • git submodule update --recursive > • git status > • mkdir build && chdir build > • ..\configure.bat -developer-build -skip qtpositioning > • cmake --build . --target docs > • cmake --build . --target qdoc > • cmake --build . --target qttools > > You can see the attachment with the full log: > log-failed-to-build-docs-qdoc-qttools.txt > --- > Haowei Hsu > <log-failed-to-build-docs-qdoc-qttools.txt> -- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development