You have to install g++ on Ubuntu, enter the command in Terminal:
$sudo apt-get install g++
You will face with another error: cannot find -lGL.
To solve it, install OpenGL library. Enter the command in Terminal:
$sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
Install Qt 5.0.0 on fresh new Ubuntu 12.10 |