我正在尝试在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的所有建议。 什么都没发生。
答案 0 :(得分:0)
确保清除所有.qmake.stash文件-它们也可能位于项目的文件夹中。完全删除您的构建目录。 .qmake.stash文件从Finder中隐藏了,因此您可能需要使用命令外壳来找到它们。