Ubuntu11.10装配Qt,提示“You need a C++ compiler. Please install it using the System P

Ubuntu11.10安装Qt,提示“You need a C++ compiler. Please install it using the System PackYou need a C

Ubuntu11.10安装Qt,提示“You need a C++ compiler. Please install it using the System Pack

You need a C++ compiler. Please install it using the System Package Management tools.

解决办法:

执行sudo apt-get install build-essential

Ubuntu并没有提供C/C++的编译环境,因此还需要手动安装。

如果想在Ubuntu中编译c/c++程序,只需要安装该软件包就可以了