hi everyone,
After searching the web and going through tutorials I tried configuring qt 4.8.4 with OpenGL options:
This is my command
./configure -embedded arm -xplatform
/usr/local/qt-source-cross/qt-everywhere-opensource-src-4.8.4/mkspecs/qws/linux-arm-g++
-prefix /usr/local/qt_install -little-endian -no-webkit -nomake demos
-nomake examples -no-largefile -optimized-qmake -nomake tools
-no-openssl -opengl
The error which i get is
You have not explicitly asked to use pkg-config and are cross-compiling.
pkg-config will not be used to automatically query cflag/lib parameters for
dependencies
All the OpenGL ES functionality tests 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
/usr/local/qt-source-cross/qt-everywhere-opensource-src-4.8.4/mkspecs/qws/linux-arm-g++.
My qmake.conf file looks like this
# modifications to g++.conf
QMAKE_CC = /usr/local/qt-source-cross/arm-2012.09/bin/arm-none-linux-gnueabi-gcc -msoft-float -D_GCC_FLOAT_NOT_NEEDED -march=armv4t -mtune=arm920t -O0 -lrt
QMAKE_CXX = /usr/local/qt-source-cross/arm-2012.09/bin/arm-none-linux-gnueabi-g++ -msoft-float -D_GCC_FLOAT_NOT_NEEDED -march=armv4t -mtune=arm920t -O0 -lrt
QMAKE_LINK = /usr/local/qt-source-cross/arm-2012.09/bin/arm-none-linux-gnueabi-g++ -msoft-float -D_GCC_FLOAT_NOT_NEEDED -march=armv4t -mtune=arm920t -O0 -lrt
QMAKE_LINK_SHLIB = /usr/local/qt-source-cross/arm-2012.09/bin/arm-none-linux-gnueabi-g++ -msoft-float -D_GCC_FLOAT_NOT_NEEDED -march=armv4t -mtune=arm920t -O0 -lrt

# modifications to linux.conf
QMAKE_AR = /usr/local/qt-source-cross/arm-2012.09/bin/arm-linux-gnueabi-ar cqs
QMAKE_OBJCOPY = /usr/local/qt-source-cross/arm-2012.09/bin/arm-linux-gnueabi-objcopy
QMAKE_STRIP = /usr/local/qt-source-cross/arm-2012.09/bin/arm-linux-gnueabi-strip
MAKE_RANLIB = /usr/local/qt-source-cross/arm-2012.09/bin/arm-none-linux-gnueabi-ranlib


QMAKE_INCLDIR_OPENGL = /usr/include/GL /usr/include/GL/internal/
QMAKE_LIBDIR_OPENGL = /usr/lib64/
QMAKE_LIBS_OPENGL_ES1 = -lEGL -lGLES_CM -lIMGegl -lsrv_um -lusc

QMAKE_INCDIR_OPENGL_EGL = /usr/include/GLES/
QMAKE_LIBDIR_OPENGL_EGL = /usr/lib64/
QMAKE_LIBS_OPENGL_EGL = -lEGL -lGLESv2 -lGLES_CM -lIMGegl -lsrv_um -lusc


QMAKE_INCLDIR_OPENGL_ES2 = /usr/include/GLES2/
QMAKE_LIBDIR_OPENGL_ES2 = /usr/lib64/
QMAKE_LIBS_OPENGL_ES2 = -lEGL -lGLESv2 -lGLES_CM -lIMGegl -lsrv_um -lusc
QMAKE_LIBS_THREAD = -lpthread

load(qt_config)
For opengl libraries I installed Mesa using yum.
I don't know where I'm missing
Please help.