Hello!
我下载了Qt5.5.0的源码后,按照官网配置说明进行configure,提示了如下错误。
************************************************************
Could not determine the target architecture!
Turn on verbose messaging (-v) to see the final report.
The OpenGL ES 2.0 functionality test failed!
Use of pkg-config is not enabled, maybe you want to pass -force-pkg-config?
You might need to modify the include and library search paths by editing
QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and QMAKE_LIBS_OPENGL_ES2 in
/home/tangbin/qt-5.5.0-arm/qt-everywhere-opensource-src-5.5.0/qtbase/mkspecs/devices/linux-imx6-g++.
************************************************************
在/linux-imx6-g++路径下的qmake.conf文件中,加入了OPENGL的头文件和库文件仍然提示一样的错误,请问有谁知道解决方法吗?
configure配置如下:
./configure -release -opengl es2 -device linux-imx6-g++ -device-option CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi- -sysroot /usr/local/qt5.5.0-arm/rootfs -prefix /usr/local/qt5.5.0-arm |