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

相關文章
相關標籤/搜索