Compile qt with opengl es failed
I have a big problem with compiling qt with opengl es failed
I configured with this command: ./configure -qt-sql-sqlite -xplatform qws/linux-arm-g++ -prefix /home/spiderman/rebuitQT-for-GL/builtQtLibs-with-Gl/ -webkit -qt-mouse-linuxtp -embedded arm -D_ARM_ARCH_5TEJ_ -opengl es2
But I received this error:
The EGL functionality test failed!
EGL is required for OpenGL ES to manage contexts & surfaces. You might need to modify the include and library search paths by editing QMAKE_INCDIR_EGL, QMAKE_LIBDIR_EGL and QMAKE_LIBS_EGL in /home/spiderman/rebuitQT-for-GL/qt-everywhere-4.6.2/mkspecs/qws/linux-arm-g++.
I have found the EGL on my computer . But I didn’t found it.
Any advice for me ? Thanks very much.