在一台旧电脑上装了深度系统,装了Qt,导入项目, build提示 clang++找不到:
Project ERROR: Cannot run compiler 'clang++'. Output:
===================
/bin/sh: 1: clang++: not found
===================
Maybe you forgot to setup the environment?
Error while parsing file /home/zhouyingge1104/repos/AimAlgo/AimAlgo.pro. Giving up.
解决方法:安装clang
sudo apt-get install clang
安装完成后,在终端进行测试:clang -v

在QtCreator中查看Options, C++相关的都自动识别了:

参考:debian - /bin/sh: clang++: command not found - Unix & Linux Stack Exchange
![8th参考文献:[8]许少辉.乡村振兴战略下传统村落文化旅游设计[M]北京:中国建筑工业出版社,2022.](https://img-blog.csdnimg.cn/bebb5d7af9974baea2389cdf26ce6131.jpeg#pic_center)


















