Qt 常见错误:“Project ERROR: Cannot run compiler 'xxx', Maybe you forgot to setup the environment” 错误原因 环境变量未设置 解决方法 添加对应的环境变量 Cannot run compiler'g++' 打开软件Everything,搜索 g++.exe 复制此路径,添加环境变量即可 Cannot run compiler'cl' 搜索 cl.exe 复制此路径,添加环境变量即可