系统相关
首页 > 系统相关> > CentOS7.6 安装 QtSDK 出错:You need a C++ compiler ...

CentOS7.6 安装 QtSDK 出错:You need a C++ compiler ...

作者:互联网

1. 联网:执行  yum install -y gcc gcc-c++

2. 然后,再安装QtSDK

3. 安装过程中,可能报错: Execution failed(Unexpected exit code: 127): "/opt/QtSDK/Simulator/Application/simulator -registeronly"...

忽略即可。

4. 安装完毕后,若qtcreator打不开,或许会提示缺少libpng12.so库,执行:yum install libpng12.x86_64  然后qtcreator就可以打开。

标签:...,gcc,QtSDK,C++,qtcreator,libpng12,安装
来源: https://blog.51cto.com/weiyuqingcheng/2752021