0

我第一次尝试使用 QtQuickCompiler,所以我查看了 Qt 文档。(https://doc.qt.io/QtQuickCompiler/qquickcompiler-building-with-cmake.html)。但如果我打电话给find_package(Qt6QuickCompiler)我看,

By not providing "FindQt6QuickCompiler.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt6QuickCompiler", but CMake did not find one.

  Could not find a package configuration file provided by "Qt6QuickCompiler"
  with any of the following names:

    Qt6QuickCompilerConfig.cmake
    qt6quickcompiler-config.cmake

  Add the installation prefix of "Qt6QuickCompiler" to CMAKE_PREFIX_PATH or
  set "Qt6QuickCompiler_DIR" to a directory containing one of the above
  files.  If "Qt6QuickCompiler" provides a separate development package or
  SDK, be sure it has been installed.

在此之后,我搜索了 Qt 目录,但没有找到。Qt6 没有 QtQuickCompiler 吗?或者我做错了什么?

4

0 回答 0