坚持编译QDoc以在Windows上构建qt5

stuck on compiling QDoc for building qt5 on windows

本文关键字:构建 qt5 Windows 以在 编译 QDoc 坚持      更新时间:2023-10-16

基本上,我按照这篇文章构建了qt5,运行配置命令后,它提示:

WARNING: QDOC will not be compiled, probably because libclang could not be located. This means theat you cannot build the Qt ducomentation.
...
On Windows, you must set LLVN_INSTALL_DIR to the installation path.

所以我LLVM_INSTALL_DIR这个页面设置了一个环境变量(我在这里得到了 LLVM(,当我在命令 promp 中输入set LLVM_INSTALL_DIR时,它会打印出LLVM_INSTALL_DIR=D:LLVM.所以我确信LLVM已经正确安装。谁可以帮助我消除此警告(我的IDE是Visual Studio 2019(?

通过构建从qt的维护工具下载的源代码来解决