找不到产品的依赖项 qt.core

dependency qt.core not found for product

我在尝试使用 qbs 编译我的项目时遇到了很多相同的错误。

像这样:

Dependency "Qt.core" not found for product "dist".
Please create a Qt profile using the qbs-setup-qt tool if you haven't already done so.
Product 'dist' had errors and was disabled.

我使用 QtCreator。我应该 "create a new Qt profile using the qbs-setup-qt tool" 吗? 请解释一下这是什么意思?

不,Qt Creator 会自动设置配置文件。出现此消息的最常见原因是您使用的套件没有(有效的)Qt 版本集。请先验证这一点。如果在这方面一切正常,请在 bugreports.qt.io 提交问题,我们将从那里处理。