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

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

2. 而后,再安装QtSDKide

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

忽略便可。code

4. 安装完毕后,若qtcreator打不开,或许会提示缺乏libpng12.so库,执行:yum install libpng12.x86_64  而后qtcreator就能够打开。qt

相关文章
相关标签/搜索