问题描述
我第一次尝试使用 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 吗?还是我做错了什么?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)