"/usr/bin/g++" is used by qmake, but "/usr/bin/gcc" is configured in the kit.
please update your kit of choose a mkspec for qmake that matches your target environment better.
Run Code Online (Sandbox Code Playgroud)
找不到任何方法如何更改 qmake 使用的编译器以匹配套件配置的编译器。
一个工具>选项>构建和运行>工具包。没有办法将 qmake 编译器改回 gcc。问题是qt 5.9只检测到gcc和clang auto