cmake 无法构建Qt 6.5.0

b5lpy0ml  于 2023-06-06  发布在  其他
关注(0)|答案(1)|浏览(344)

为什么我不能构建Qt 6.5.0?我需要6.5.0,因为6.5.1把我的项目搞砸了,他们从维护工具中删除了6.5.0。我把所有东西都安装好了。但是运行configure.bat时说某个文件丢失了。我有:

  • CMake 3.26.4
  • 来自winlibs的GCC 12
  • 简体中文

错误是:

-- Configuring submodule 'qthttpserver'
-- Configuring submodule 'qttools'
CMake Error at C:/MinGW/lib/cmake/llvm/LLVMExports.cmake:677 (message):
The imported target "LLVMDemangle" references the file 

   "C:/MinGW/lib/libLLVMDemangle.dll.a"

but this file does not exist. Possible reasons include:

* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
  "C:/MinGW/lib/cmake/llvm/LLVMExports.cmake"
but not all the files it references.

Call Stack (most recent call first):
  C:/MinGW/lib/cmake/llvm/LLVMConfig.cmake:267 (include)
  C:/MinGW/lib/cmake/clang/ClangConfig.cmake:10 (find_package)
  qttools/cmake/FindWrapLibClang.cmake:17 (find_package)
  qtbase/cmake/QtFindPackageHelpers.cmake:144 (find_package)
  qttools/configure.cmake:20 (qt_find_package)
  qtbase/cmake/QtFeature.cmake:592 (include)
  qttools/src/CMakeLists.txt:18 (qt_feature_evaluate_features)
-- Configuring incomplete, errors occurred!
CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:994 (message):
CMake exited with code 1.
NativeCommandExitException: Program "configure.bat" ended with non-zero exit code: 1.

我尝试从here安装MinGW-w 64的LLVM工具链。但它没有工作,我也尝试安装LLVM使用官方安装程序,它仍然安装,它仍然不工作。

lx0bsm1f

lx0bsm1f1#

您可以在 Maintenance Tool 中查看旧版本,方法是选中右侧的Archive复选框并单击Filter按钮。

相关问题