QT错误笔记-Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.
2017-06-16 10:36
645 查看
上午在linux环境下,使用QT编译一段C++代码,出现下列错误:
最近在stackoverflow上找到了答案:
i was also having the same problem so what i did is
For linux
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
原文:https://stackoverflow.com/questions/14700965/qt-creator-needs-a-compiler-set-up-to-build-configure-a-compiler-in-the-kit-opt
最近在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.xmlto solve the problem.
原文:https://stackoverflow.com/questions/14700965/qt-creator-needs-a-compiler-set-up-to-build-configure-a-compiler-in-the-kit-opt
相关文章推荐
- error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.
- Qt creator needs a compiler set up to build. Configure a compiler in the kit options
- Qt Creator needs a compiler set up to build. Configure a compiler in the kit options - Stack Overflow
- Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.解决
- 运行qtcreator 出现错误提示:error: Qt Creator needs a compiler set up to build. Configure a compile
- 解决mac下qt工程编译错误:Xcode not set up properly. You may need to confirm the license agreement by running
- 解决Qt Creator No valid Qt version set. Set one in Tools/Options 问题
- CodeIgniter 错误: In order to use the Session class you are required to set an encryption key
- How to configure CDB in Qt Creator(使用VC调试器)
- 5 minutes to set up a subversion server in the cloud
- How to set the QT Application icon in the windows.
- Unable to locate the Javac Compiler in 错误的解决办法之一
- qt: The build directory needs to be at the same level as the source directory.
- CodeIgniter 错误: In order to use the Session class you are required to set an encryption key
- 在使用eclipse 运行 maven install的时候,出现这个错误:Unable to locate the Javac Compiler in:…
- The "tsconfig.json" file must have compilerOptions.sourceMap set to true
- 在使用eclipse 运行 maven install的时候,出现这个错误:Unable to locate the Javac Compiler in:…
- How to build up the ELDK cross compiler for S3c6410(step1)
- QT 错误 Cannot start the terminal emulator 'xterm', change the setting in the Environment options.
- Linux运行qt出现错误:(qtdemo:3694): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",