Hello, I'm traying to compile OPENGL in ptxdist-2013.09.0 i.mx6 platform and I'm getting this error: / You have asked to use pkg-config and are cross-compiling. Please make sure you have a correctly set-up pkg-config environment! Warning: PKG_CONFIG_PATH has not been set. This could mean the host compiler's .pc files will be used. This is probably not what you want. 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/user/ptxdist-2013.09.0/work_dir/platform-i.MX6/build-target/qt-everywhere-opensource-src-4.8.4/mkspecs/qws/linux-ptx-g++/ I apply an old patch I found in the mail list, adding to qt4.make following lines. But it doesn't work: * QT4_QMAKE_LIBS_OPENGL_ES2 := "-lGLESv2" QT4_QMAKE_INCDIR_OPENGL_ES2 := "$(SYSROOT)/usr/include/GLES2" QT4_QMAKE_LIBDIR_OPENGL_ES2 := "$(SYSROOT)/usr/lib"* * -e "s#@QMAKE_INCDIR_OPENGL_ES2@#$(strip $(QT4_QMAKE_INCDIR_OPENGL_ES2))#g" \ -e "s#@QMAKE_LIBDIR_OPENGL_ES2@#$(strip $(QT4_QMAKE_LIBDIR_OPENGL_ES2))#g" \ -e "s#@QMAKE_LIBS_OPENGL_ES2@#$(strip $(QT4_QMAKE_LIBS_OPENGL_ES2))#g" \* Any idea to build this package? Thanks a lot -- */Daniel Machón García /**/INGENIERÍA SCI /* SEPSA_nuevo_definitivo_1 C/ Albatros, 7. C.P. 28320 Pinto (Madrid) Tel: 91 495 70 00 Extension: 1347 Fax: 91 692 11 45 danielmachon@sepsa.es