Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Project ERROR: Cannot run compiler 'g++'. Output (centos7)
I installed Qt5.12.3 on centos7.When i create Qt Application project first time and build it,a bug occurs 'Project ERROR: Cannot run compiler 'g++'. Output'.
Before this,i upgrade my gcc/g++ from 4.8.5 to 9.3.0 and set the soft link for /usr/bin.gcc/g++ 93.0 is valid.
Does anyone know how this is caused？
@lyyaozi Can you run the compiler from command line and compile a simple C++ program?
Is the Kit configured properly in QtCreator?
@jsulm yes,i try to compile a demo cpp with command line,it works.I configure a new compiler in kit,and i set it's path to /usr/bin
path to /usr/bin
Including the executable? Like /usr/bin/gcc?
@jsulm yes,i configure the C Compiler "/usr/bin/gcc" and C++ Compiler "/usr/bin/g++buzh"
What is buzh? Is it a typo or part of the file name?
Before you wrote: /usr/bin.gcc/g++ 93.0
Can you please post what exactly the symbolic links look like and to what do they point?
@jsulm thx,i think i may know how it caused under your inspiration.Maybe i should make a link from /usr/bin/g++ to /usr/bin/g++buzh.I'm going to try it now.By the way,g++buzh is a executable file generated by compiling gcc 9.3.0.