1、下载安装qtcreator, 上官网。 2、新建工程编译通不过, 没设定编译器, ubuntu系统 gcc qtcreator检测不到。 安装g++环境 命令:先执行下 apt-get install update