우분투에서 Qt 라이브러리를 컴파일할 때 opengl을 같이 컴파일하려는데 다음과 같은 에러메시지가 출력되었다.
The OpenGL ES 2.0 functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in
/home/wolf/arm_imx515_qt4.7.2/mkspecs/qws/linux-arm-gnueabi-g++.
위 문제는 참조할 OpenGL 라이브러리가 없어서 그런거 같다.
$ sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev libsdl1.2-dev
위와 같이 OpenGL 관련 라이브러리를 먼저 설치해 주고 다시 configure 하면 정상적으로 수행되는 것을 확인할 수 있다.