QT错误笔记-Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.
2024-10-21 09:45:40
上午在linux环境下,使用QT编译一段C++代码,出现下列错误:
最近在stackoverflow上找到了答案:
i was also having the same problem so what i did is
For linux
sudo apt-get install g++
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
and then closed the qt creator and restarted it and it worked
i do not know which of the above two made it work but it worked !!
For Windows
Below given solution have worked for few people. so it is worth a try.
Delete this file C:\Users\AppData\Roaming\QtProject\qtcreator\toolchains.xml
to solve the problem.
最新文章
- 数据上下文【 DnContext】【EF基础系列7】
- 在线研讨会webinars
- 使用oracle11g_instant_client来解决在不安装oracle客户端的情况下连接服务端
- Java vs. C#
- The future of programming languages
- sql复制表数据的方法
- Repeat Number
- Java多线程的~~~synchronized加入参数,以实现独立片段
- Two analytical 2d line intersection in OpenCASCADE
- [android] xml文件的序列化
- 09、 在QQ音乐中查找七里香这首歌的精彩评论
- CSS3渐变——径向渐变
- iOS:使用莱文斯坦距离算法计算两串字符串的相似度
- P4172 [WC2006]水管局长(LCT)
- http协议中的一些小常识
- what is HTTP OPTIONS verb
- msgpack和protobuf的对比
- 原生php如何获取当前页面的url
- 【转】如何遍历json数据
- CentOS 7进入救援模式的方法