如何解决'无规则使目标名称成为'project-name'。停止。'

问题描述 投票:0回答:1

我正在尝试在macOS 10.15 Catalina更新后构建我的qt项目。总是会收到en错误::-1: error: No rule to make target 'AircraftAlgorithmPack'. Stop.

和建议:

make: *** No rule to make target 'AircraftAlgorithmPack'.  Stop.
The platform SDK has been changed from version 10.14 to version 10.15.
This requires a fresh build. Please wipe the build directory completely,
including any .qmake.stash and .qmake.cache files generated by qmake.
/Users/arseniyspiridonov/Qt/5.13.1/clang_64/mkspecs/features/mac/sdk.mk:22: *** ^.  Stop.
19:01:49: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project AircraftAlgorithmPack (kit: Desktop Qt 5.13.1 clang 64bit)
When executing step "qmake"

我已经检查过我的SDK版本是10.15。我试图清理项目,删除构建目录,重新运行qmake,在make文件中进行上下文更改(从10.14到10.15),写一些咒语以不检查SDK版本。来自Google的所有建议。什么也没发生。

qt
1个回答
0
投票

请确保删除所有.qmake.stash文件-它们也可能位于您项目的文件夹中。完全删除您的构建目录。 .qmake.stash文件从Finder中隐藏了,因此您可能需要使用命令外壳程序来找到它们。

© www.soinside.com 2019 - 2024. All rights reserved.