AnsweredAssumed Answered

In i.mx51  with Qt Compile, The EGL functionality test failed.

Question asked by ravi varman on Nov 14, 2013
Latest reply on Mar 21, 2014 by Frank Vasquez

Hi all,

I’m trying to cross compile qt-everywhere-opensource-src-4.6.1 with openGL es2 support.

Details:
Host:Ubuntu 10.04.4 LTS
Target:ARM Cortex A8 (Freescale i.MX51 Processor)
Target Linux:linux-2.6.31.
Qt Version:4.6.1

Steps i did are,

1.downloaded qt-everywhere-opensource-src-4.6.1.tar.gz from ftp://ftp.qt.nokia.com/qt/source/ [ftp.qt.nokia.com]
2.Copied mkspecs for arm-cortex_a8-linux-gnueabi-g++ and modified its qmake.conf as given – https://dl.dropboxusercontent.com/u/12382973/linux-g++-mx5x/qmake.conf [dl.dropboxusercontent.com] . 3.then configured as,

  1. ./configure -arch arm -xplatform linux-g++-mx5x -release -prefix / -multimedia -qt-gfx-linuxfb -qt-kbd-tty -little-endian -host-little-endian -fontconfig -sm -opengl es2

  And now i got the problem it shows,

“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/elangovan/qt-everywhere-opensource-src-4.6.1/mkspecs/linux-g++-mx5x” 

but in qmake.conf it has,

  1. QMAKE_INCDIR_EGL      = /usr/local/DigiEL-5.6/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sys-root/usr/include/EGL
  2. QMAKE_LIBDIR_EGL      = /usr/local/DigiEL-5.6/x-tools/arm-cortex_a8-linux-gnueabi/arm-cortex_a8-linux-gnueabi/sys-root/usr/lib
  3. QMAKE_LIBS_EGL       = -lEGL

when i use -v switching in config it gives errors as in the file – https://dl.dropboxusercontent.com/u/12382973/configError.txt [dl.dropboxusercontent.com]

Anybody successfully compiled qt with opengl es2 support?

Outcomes