2013-07-11 07:36:31 -0600 | answered a question | How to go back to QT4 after failing to work with QT5? ALL CMake file you need are under the path ...../Qt5.1.0/5.1.0/gcc/lib/cmake not in the .../Qt5.1.0/5.1.0/gcc/lib/ I specified them under cmake-gui one by one ( Qt5Core_DIR , Qt5Test_DIR .....) If there is any EGL or OpenGL error shows up You have to install OpenGL sudo apt-get install build-essential sudo apt-get install libgl1-mesa-dev |