按照processors.wiki.ti.com/.../Building_Qt_with_OpenGL_ES_accelerated_by_SGX 编译QT 4.8.6,补丁都打好了。
Graphics_SDK_5_01_01_02的示例 OGLES2ChameleonMan 能正常运行。但是在编译QT4.8.6后无法正常运行opengl例程,其它例程都能运行,就是opengl目录下的例程无法显示3D界面, 只看到UI边框。
fbset -rgba 8/16,8/8,8/0,8/24
/etc/init.d/rc.pvr start
/opt/qt-4.8.6-arm/examples/opengl/hellogl_es2/hellogl_es2 -qws -display powervr
QEglContext::createSurface(): Unable to create EGL surface, error = 0x300b
/etc/powervr.ini已经按照教程已经修改为:
[default]
WindowSystem=libpvrQWSWSEGL.so
这个报错网上能搜索到很多类似的帖子,比如:
e2e.ti.com/.../238836
最后都没找到解决办法,是不是TI的Graphics_SDK_5_01_01_02不支持qt 4.8.6的opengl?